From 7b244d3034f5e9eddab285aa67d57323c98b14d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sat, 5 Mar 2022 21:58:43 +0100 Subject: [PATCH] Enable js asset versioning in dev mode so we can use hotload. --- webpack.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 9ad68c37..785608c3 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -82,7 +82,8 @@ Encore .enableBuildNotifications() .enableSourceMaps(!Encore.isProduction()) // enables hashed filenames (e.g. app.abc123.css) - .enableVersioning(Encore.isProduction()) + //.enableVersioning(Encore.isProduction()) + .enableVersioning() .configureBabel((config) => { config.plugins.push('@babel/plugin-proposal-class-properties');