diff options
Diffstat (limited to 'config/webpack/production.js')
-rw-r--r-- | config/webpack/production.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/webpack/production.js b/config/webpack/production.js index 64bdee47d..cd1dd91dc 100644 --- a/config/webpack/production.js +++ b/config/webpack/production.js @@ -10,7 +10,11 @@ const { publicPath } = require('./configuration.js'); const path = require('path'); module.exports = merge(sharedConfig, { - output: { filename: '[name]-[chunkhash].js' }, + output: { + filename: '[name]-[chunkhash].js', + chunkFilename: '[name]-[chunkhash].js', + }, + devtool: 'source-map', // separate sourcemap file, suitable for production stats: 'normal', |