From d8aa838e844f45413e84fe684f52251f59d4a539 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Sat, 23 Dec 2017 11:29:36 -0500 Subject: [PATCH] Reduces startup time even more --- tsconfig.json | 2 +- webpack.config.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index ef0ce274..21c4561 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,7 @@ "forceConsistentCasingInFileNames": true, "importHelpers": true, "lib": [ "es2015", "es2016" ], - "module": "commonjs", + "module": "es2015", "moduleResolution": "node", "noFallthroughCasesInSwitch": true, "noImplicitReturns": true, diff --git a/webpack.config.js b/webpack.config.js index 32449da..892481e 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -13,6 +13,7 @@ module.exports = function(env, argv) { const sourceMaps = !env.production; const plugins = [ + new webpack.optimize.ModuleConcatenationPlugin(), new UglifyJsPlugin({ parallel: true, sourceMap: sourceMaps,