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: {