mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 23:32:38 +00:00
webpack: remove NameModulesPlugin
enabled in development mode. Configurable with optimization.namedModules
This commit is contained in:
parent
eae92d7275
commit
f987d16adb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user