Make source map files generated correctly.

https://github.com/webpack/extract-text-webpack-plugin/issues/119
This commit is contained in:
Xing 2016-07-01 09:33:27 -07:00 committed by nixa
parent 6a7f51c904
commit 77320b1f4b
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 * 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 /** The filename of non-entry chunks as relative path
* inside the output.path directory. * 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 * 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 * The filename of non-entry chunks as relative path