From 993d0cdedbab5ac7a549a0d012055ca5ebadfc56 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Wed, 22 Jul 2020 14:19:23 +0300 Subject: [PATCH] Fix dev mode --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 821cebc..d3f160b 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -47,7 +47,7 @@ const webpackConfig = { output: { path: outputPath, publicPath: '/', - filename: '[name].js?[chunkhash]', + filename: `[name].js?[${isProduction ? 'chunkhash' : 'hash'}]`, }, resolve: {