Merge pull request #51 from AlbertXingZhang/sourceMapFilename

Make source map files generated correctly.
This commit is contained in:
Dmitry 2016-07-08 13:11:19 +03:00 committed by GitHub
commit 1843d19acf
2 changed files with 2 additions and 2 deletions

View file

@ -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.

View file

@ -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