From 8441c562ce7e6455ad769a2ac2abbebdc30dd23a Mon Sep 17 00:00:00 2001 From: lukasmartinelli Date: Tue, 20 Sep 2016 08:07:25 +0200 Subject: [PATCH] Add hash to vendor bundle --- webpack.production.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webpack.production.config.js b/webpack.production.config.js index 0d0f758e..b0facb7c 100644 --- a/webpack.production.config.js +++ b/webpack.production.config.js @@ -46,7 +46,7 @@ module.exports = { }, output: { path: path.join(__dirname, 'public'), - filename: '[chunkhash].js' + filename: '[chunkhash].app.js' }, resolve: { alias: { @@ -69,7 +69,7 @@ module.exports = { fs: "empty" }, plugins: [ - new webpack.optimize.CommonsChunkPlugin('vendor', 'vendor.bundle.js'), + new webpack.optimize.CommonsChunkPlugin('vendor', '[chunkhash].vendor.js'), new WebpackCleanupPlugin(), new webpack.DefinePlugin({ 'process.env': { @@ -90,7 +90,7 @@ module.exports = { }), new HtmlWebpackPlugin({ template: './src/template.html', - title: 'Mapolo' + title: 'Mapital' }), new webpack.optimize.DedupePlugin() ]