webpack: remove NameModulesPlugin

enabled in development mode. Configurable with optimization.namedModules
This commit is contained in:
Pooya Parsa 2018-02-26 14:04:22 +03:30
parent eae92d7275
commit f987d16adb

View File

@ -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