Skip to content

Commit 18f5cdd

Browse files
authored
Merge pull request #2432 from angular-fullstack/fix/css-loader
fix(webpack:css): disable css-loader sourceMap option
2 parents d2cc15a + d48f0b0 commit 18f5cdd

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)