mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-06 21:30:21 +03:00
Merge branch 'react-rewrite' of github.com:MrBlenny/ReDoc into react-rewrite
This commit is contained in:
commit
e4b715b7f3
|
@ -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: [
|
||||
|
|
Loading…
Reference in New Issue
Block a user