From 7a7d3e88c8c25a31d7709131ba5b99c41bc5e14d Mon Sep 17 00:00:00 2001 From: Adrian Barwicki Date: Mon, 5 Nov 2018 20:21:49 +0100 Subject: [PATCH] Update webpack.config.js --- webpack.config.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index c676797..7fc3686 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -31,14 +31,9 @@ module.exports = { ], }, externals: { - // shows how we can rely on browser globals instead of bundling these dependencies, - // in case we want to access jQuery from a CDN or if we want an easy way to - // avoid loading all moment locales: https://github.com/moment/moment/issues/1435 - jquery: '$', - moment: 'moment' }, resolve: { - extensions: [ '*', '.ts', 'js', 'css' ] + extensions: [ '*', '.ts', '.js', '.css' ] }, optimization: { minimizer: [new UglifyJsPlugin({