diff --git a/frontend/config/webpack.config.dev.js b/frontend/config/webpack.config.dev.js index d260b439ed..324c862b4d 100644 --- a/frontend/config/webpack.config.dev.js +++ b/frontend/config/webpack.config.dev.js @@ -232,7 +232,7 @@ module.exports = { // This does not produce a real file. It's just the virtual path that is // served by WebpackDevServer in development. This is the JS bundle // containing code from all our entry points, and the Webpack runtime. - filename: '[name].bundle.[hash].js', + filename: '[name].bundle.js', // There are also additional JS chunk files if you use code splitting. chunkFilename: 'static/js/[name].chunk.js', // This is the URL that app is served from. We use "/" in development. @@ -433,7 +433,7 @@ module.exports = { new webpack.optimize.CommonsChunkPlugin({ name: 'commons', - filename: '[name]/bundle.common.[hash].js', + filename: '[name]/bundle.common.js', minChunks: function(module, count) { if(module.resource && (/^.*\.(css|scss)$/).test(module.resource)) { return false; diff --git a/frontend/config/webpack.config.prod.js b/frontend/config/webpack.config.prod.js index f9bdaeee12..b2931b221c 100644 --- a/frontend/config/webpack.config.prod.js +++ b/frontend/config/webpack.config.prod.js @@ -101,7 +101,7 @@ module.exports = { // Generated JS file names (with nested folders). // There will be one main bundle, and one file per asynchronous chunk. // We don't currently advertise code splitting but Webpack supports it. - filename: 'js/[name].[chunkhash].js', + filename: 'js/[name].js', chunkFilename: 'js/[name].chunk.js', // We inferred the "public path" (such as / or /my-project) from homepage. // publicPath: publicPath, @@ -382,7 +382,7 @@ module.exports = { // https://webpack.js.org/plugins/commons-chunk-plugin/ new webpack.optimize.CommonsChunkPlugin({ name: 'commons', - filename: '[name]/bundle.common.[chunkhash].js', + filename: '[name]/bundle.common.js', minChunks: function(module, count) { if(module.resource && (/^.*\.(css|scss)$/).test(module.resource)) { return false;