From f987d16adb991a6caed7f83bd55839df83325795 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Mon, 26 Feb 2018 14:04:22 +0330 Subject: [PATCH] webpack: remove NameModulesPlugin enabled in development mode. Configurable with optimization.namedModules --- lib/builder/webpack/client.config.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/builder/webpack/client.config.js b/lib/builder/webpack/client.config.js index ff37e7a02c..87e40abe28 100644 --- a/lib/builder/webpack/client.config.js +++ b/lib/builder/webpack/client.config.js @@ -123,9 +123,6 @@ module.exports = function webpackClientConfig() { // Dev specific config // -------------------------------------- if (this.options.dev) { - // https://webpack.js.org/plugins/named-modules-plugin - config.plugins.push(new webpack.NamedModulesPlugin()) - // Add HMR support config.entry.app = [ // https://github.com/glenjamin/webpack-hot-middleware#config