Skip to content
Snippets Groups Projects
Commit f93f3060 authored by Yamagishi Kazutoshi's avatar Yamagishi Kazutoshi Committed by Eugen Rochko
Browse files

Remove hash from chunk filename when dev env (#4411)

parent e67fc997
No related branches found
No related tags found
No related merge requests found
......@@ -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',
......
......@@ -33,7 +33,7 @@ module.exports = {
output: {
filename: '[name].js',
chunkFilename: '[name]-[chunkhash].js',
chunkFilename: '[name].js',
path: output.path,
publicPath: output.publicPath,
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment