Enable asset versioning on prod
This commit is contained in:
parent
fed25b61f1
commit
d2858c6315
|
@ -15,7 +15,9 @@ Encore
|
|||
.enableSourceMaps(!Encore.isProduction())
|
||||
|
||||
if (Encore.isProduction()) {
|
||||
Encore.addPlugin(new PurgecssPlugin(purgecssConfig))
|
||||
Encore
|
||||
.enableVersioning()
|
||||
.addPlugin(new PurgecssPlugin(purgecssConfig))
|
||||
}
|
||||
|
||||
module.exports = Encore.getWebpackConfig()
|
||||
|
|
Reference in a new issue