From d48f0b04aae946c1ef0039c0ad5d52aa662663e0 Mon Sep 17 00:00:00 2001 From: Andrew Koroluk Date: Wed, 28 Dec 2016 17:20:21 -0500 Subject: [PATCH] fix(webpack:css): disable css-loader sourceMap option fixes #2188 --- templates/app/webpack.make.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/app/webpack.make.js b/templates/app/webpack.make.js index 6c04a7449..9990862e0 100644 --- a/templates/app/webpack.make.js +++ b/templates/app/webpack.make.js @@ -211,7 +211,7 @@ module.exports = function makeWebpackConfig(options) { // // Reference: https://github.com/webpack/style-loader // Use style-loader in development for hot-loading - ? ExtractTextPlugin.extract('style', 'css?sourceMap!postcss') + ? ExtractTextPlugin.extract('style', 'css!postcss') // Reference: https://github.com/webpack/null-loader // Skip loading css in test mode : 'null'