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

Diff for: templates/app/webpack.make.js

+1-1
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)