rename external jquery for module build

This commit is contained in:
Roman Hotsiy 2016-10-18 17:46:41 +03:00
parent 22c9a5ba8e
commit 5978c8dc5b
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -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',