Skip to content

Commit d48f0b0

Browse files
committed
fix(webpack:css): disable css-loader sourceMap option
fixes #2188
1 parent d2cc15a commit d48f0b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/app/webpack.make.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ module.exports = function makeWebpackConfig(options) {
211211
//
212212
// Reference: https://github.com/webpack/style-loader
213213
// Use style-loader in development for hot-loading
214-
? ExtractTextPlugin.extract('style', 'css?sourceMap!postcss')
214+
? ExtractTextPlugin.extract('style', 'css!postcss')
215215
// Reference: https://github.com/webpack/null-loader
216216
// Skip loading css in test mode
217217
: 'null'

0 commit comments

Comments
 (0)