Enable asset versioning on prod

This commit is contained in:
Oliver Davies 2020-03-11 21:44:41 +00:00
parent fed25b61f1
commit d2858c6315

View file

@ -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()