WA-234 Fix contenthash webpack 4.3 incompatibility
This commit is contained in:
parent
7d595b4be2
commit
60c90b8f3e
|
@ -192,7 +192,7 @@ module.exports = {
|
||||||
new webpack.DefinePlugin(env),
|
new webpack.DefinePlugin(env),
|
||||||
// Note: this won't work without ExtractTextPlugin.extract(..) in `loaders`.
|
// Note: this won't work without ExtractTextPlugin.extract(..) in `loaders`.
|
||||||
new ExtractTextPlugin({
|
new ExtractTextPlugin({
|
||||||
filename: 'static/css/[name].[contenthash:8].css',
|
filename: 'static/css/[name].[hash:8].css',
|
||||||
allChunks: true
|
allChunks: true
|
||||||
}),
|
}),
|
||||||
// Generate a manifest file which contains a mapping of all asset filenames
|
// Generate a manifest file which contains a mapping of all asset filenames
|
||||||
|
|
Loading…
Reference in New Issue