Use content hash for better cache
This commit is contained in:
parent
9b846a4733
commit
519782e0f3
@ -34,7 +34,7 @@ const config = {
|
|||||||
filename: '[name].js',
|
filename: '[name].js',
|
||||||
chunkFilename: devMode
|
chunkFilename: devMode
|
||||||
? '[id].js'
|
? '[id].js'
|
||||||
: '[id].[chunkhash:7].js'
|
: '[id].[contenthash:7].js'
|
||||||
},
|
},
|
||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
|
Loading…
Reference in New Issue
Block a user