mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 16:46:34 +03:00
rename external jquery for module build
This commit is contained in:
parent
22c9a5ba8e
commit
5978c8dc5b
|
@ -17,7 +17,7 @@ const TS_RULE = {
|
|||
loader: 'awesome-typescript-loader',
|
||||
exclude: /(node_modules)/,
|
||||
};
|
||||
//
|
||||
//
|
||||
// if (IS_MODULE) {
|
||||
// TS_RULE.query = {
|
||||
// noEmitHelpers: false
|
||||
|
@ -108,7 +108,7 @@ const config = {
|
|||
|
||||
if (IS_MODULE) {
|
||||
config.externals = {
|
||||
'jquery': 'jQuery',
|
||||
'jquery': 'jquery',
|
||||
'esprima': 'esprima', // optional dep of ys-yaml not needed for redoc
|
||||
'@angular/platform-browser-dynamic': '@angular/platform-browser-dynamic',
|
||||
'@angular/platform-browser': '@angular/platform-browser',
|
||||
|
|
Loading…
Reference in New Issue
Block a user