diff --git a/packages/webpack-config/example/webpack.config.js b/packages/webpack-config/example/webpack.config.js index 3df28e61e..62ab39d9b 100644 --- a/packages/webpack-config/example/webpack.config.js +++ b/packages/webpack-config/example/webpack.config.js @@ -8,6 +8,7 @@ module.exports = createConfig() .cssExtracted() .merge({ optimization: { + moduleIds: 'named', runtimeChunk: { name: 'runtime', }, diff --git a/packages/webpack-config/src/config/dev-server.js b/packages/webpack-config/src/config/dev-server.js index f872ab3a1..bd3cf31a2 100644 --- a/packages/webpack-config/src/config/dev-server.js +++ b/packages/webpack-config/src/config/dev-server.js @@ -35,7 +35,6 @@ const devServerConfig = (options) => { plugins: [ new webpack.NoEmitOnErrorsPlugin(), - new webpack.NamedModulesPlugin(), ], }); };