From 7e990dc67eab126e698716afae82c883d1af11cf Mon Sep 17 00:00:00 2001 From: Alasdair Smith Date: Tue, 13 Mar 2018 16:07:12 +0000 Subject: [PATCH] Use global var for underscore This is simpler than extracting as an external, though less explicit, as getting webpack & AMD to play nice is hard --- services/web/webpack.config.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/services/web/webpack.config.js b/services/web/webpack.config.js index 09a4abd05b..369d5a2035 100644 --- a/services/web/webpack.config.js +++ b/services/web/webpack.config.js @@ -22,12 +22,6 @@ module.exports = { library: ['Frontend', '[name]'] }, - // TODO?? - // Defines the external modules which will be stripped out when bundling for - // the main app. These modules are already loaded in the main app environment, - // so we strip them out to prevent conflicts. - // externals: {}, - // Define how file types are handled by webpack module: { rules: [{