mirror of
https://github.com/Redocly/redoc.git
synced 2025-02-07 13:30:33 +03:00
Emit helpers for module build
This commit is contained in:
parent
7045591ad6
commit
ae6f4567a1
|
@ -18,7 +18,7 @@ module.exports = {
|
|||
}
|
||||
},
|
||||
externals: {
|
||||
"jquery": "jQuery",
|
||||
'jquery': 'jquery',
|
||||
'esprima': 'esprima' // optional dep of ys-yaml not needed for redoc
|
||||
},
|
||||
node: {
|
||||
|
|
|
@ -24,7 +24,7 @@ const config = {
|
|||
}
|
||||
},
|
||||
externals: {
|
||||
'jquery': 'jQuery',
|
||||
'jquery': 'jquery',
|
||||
'esprima': 'esprima' // optional dep of ys-yaml not needed for redoc
|
||||
},
|
||||
node: {
|
||||
|
@ -61,7 +61,10 @@ const config = {
|
|||
},{
|
||||
test: /\.ts$/,
|
||||
loader: 'awesome-typescript-loader',
|
||||
exclude: /(node_modules)/
|
||||
exclude: /(node_modules)/,
|
||||
query: IS_MODULE ? {
|
||||
noEmitHelpers: false,
|
||||
} : {}
|
||||
}, {
|
||||
test: /lib[\\\/].*\.css$/,
|
||||
loaders: ['raw-loader'],
|
||||
|
|
|
@ -15,7 +15,7 @@ module.exports = {
|
|||
}
|
||||
},
|
||||
externals: {
|
||||
"jquery": "jQuery",
|
||||
'jquery': 'jquery',
|
||||
'esprima': 'esprima' // optional dep of ys-yaml not needed for redoc
|
||||
},
|
||||
node: {
|
||||
|
|
Loading…
Reference in New Issue
Block a user