Merge branch 'react-rewrite' of github.com:MrBlenny/ReDoc into react-rewrite

This commit is contained in:
David Revay 2018-03-14 16:00:24 +10:00
commit e4b715b7f3

View File

@ -28,6 +28,10 @@ export default {
resolve: {
extensions: ['.ts', '.tsx', '.js', '.json'],
},
node: {
fs: 'empty',
},
module: {
rules: [
@ -56,6 +60,17 @@ export default {
},
},
},
{
test: /node_modules\/(swagger2openapi|reftools)\/.*\.js$/,
use: {
loader: 'awesome-typescript-loader',
options: {
transpileOnly: true,
allowJs: true,
instance: 'ts2js-transpiler-only',
},
},
},
],
},
plugins: [