WA-234 Fix contenthash webpack 4.3 incompatibility

This commit is contained in:
apanizo 2018-06-20 13:12:17 +02:00
parent 7d595b4be2
commit 60c90b8f3e
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ module.exports = {
new webpack.DefinePlugin(env),
// Note: this won't work without ExtractTextPlugin.extract(..) in `loaders`.
new ExtractTextPlugin({
filename: 'static/css/[name].[contenthash:8].css',
filename: 'static/css/[name].[hash:8].css',
allChunks: true
}),
// Generate a manifest file which contains a mapping of all asset filenames