From 5978c8dc5be7c918c8ded8b3169a1cb8edca8afc Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Tue, 18 Oct 2016 17:46:41 +0300 Subject: [PATCH] rename external jquery for module build --- build/webpack.prod.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/webpack.prod.js b/build/webpack.prod.js index 6c147d70..ffecdfe0 100644 --- a/build/webpack.prod.js +++ b/build/webpack.prod.js @@ -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',