diff --git a/config/webpack.dev.js b/config/webpack.dev.js index e5a8b1c5..1c553394 100644 --- a/config/webpack.dev.js +++ b/config/webpack.dev.js @@ -80,7 +80,7 @@ module.exports = webpackMerge(commonConfig, { * * See: http://webpack.github.io/docs/configuration.html#output-sourcemapfilename */ - sourceMapFilename: '[name].map', + sourceMapFilename: '[file].map', /** The filename of non-entry chunks as relative path * inside the output.path directory. diff --git a/config/webpack.prod.js b/config/webpack.prod.js index bb532d1d..9a113851 100644 --- a/config/webpack.prod.js +++ b/config/webpack.prod.js @@ -72,7 +72,7 @@ module.exports = webpackMerge(commonConfig, { * * See: http://webpack.github.io/docs/configuration.html#output-sourcemapfilename */ - sourceMapFilename: '[name].[chunkhash].bundle.map', + sourceMapFilename: '[file].map', /** * The filename of non-entry chunks as relative path