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
parent 9af0e22650
commit f211bb625e
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