diff --git a/webpack.config.js b/webpack.config.js index 27456c605..068050dfd 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -12,15 +12,6 @@ module.exports = () => { return { context: __dirname + '/lib', - optimization: { - namedModules: true, - namedChunks: true, - splitChunks: { - cacheGroups: { - default: false, - }, - }, - }, mode: isDevMode ? 'development' : 'production', devtool: process.env.SOURCEMAP || (isDevMode && 'cheap-module-eval-source-map'), @@ -29,7 +20,7 @@ module.exports = () => { output: { path: __dirname + '/dist', filename: 'app.js', - chunkFilename: '[name].js', + chunkFilename: '[name].[chunkhash].js', ...(config.is_app_engine && { publicPath: config.web_app_url + '/', }),