From b1724951fdb1cacbfa286ab998265b8d4fc03a22 Mon Sep 17 00:00:00 2001 From: Mike Greiling Date: Fri, 8 Jun 2018 11:09:21 -0500 Subject: attempt to reduce webpack memory consumption in production --- config/webpack.config.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'config/webpack.config.js') diff --git a/config/webpack.config.js b/config/webpack.config.js index e760ce1cb8c..55ff1e6f836 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -219,7 +219,9 @@ module.exports = { new VueLoaderPlugin(), // automatically configure monaco editor web workers - new MonacoWebpackPlugin(), + new MonacoWebpackPlugin({ + features: [], + }), // prevent pikaday from including moment.js new webpack.IgnorePlugin(/moment/, /pikaday/), @@ -287,7 +289,7 @@ module.exports = { inline: DEV_SERVER_LIVERELOAD, }, - devtool: IS_PRODUCTION ? 'source-map' : 'cheap-module-eval-source-map', + devtool: IS_PRODUCTION ? 'nosources-source-map' : 'cheap-module-eval-source-map', // sqljs requires fs node: { fs: 'empty' }, -- cgit v1.2.1