diff --git a/webpack.config.js b/webpack.config.js index ee559ad8..61bc6a4a 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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()