From 2cb6e1e59632bbce7ead7b78b29c0c4bd5592bb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Sat, 20 May 2017 11:36:48 +0200 Subject: [PATCH] Add source map for SASS --- lib/webpack/vue-loader.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/webpack/vue-loader.config.js b/lib/webpack/vue-loader.config.js index 9dc590107d..ae4c7b8aba 100644 --- a/lib/webpack/vue-loader.config.js +++ b/lib/webpack/vue-loader.config.js @@ -17,7 +17,7 @@ export default function ({ isClient }) { 'js': 'babel-loader?' + babelOptions, 'css': styleLoader.call(this, 'css'), 'less': styleLoader.call(this, 'less', 'less-loader'), - 'sass': styleLoader.call(this, 'sass', 'sass-loader?indentedSyntax'), + 'sass': styleLoader.call(this, 'sass', 'sass-loader?indentedSyntax&?sourceMap'), 'scss': styleLoader.call(this, 'sass', 'sass-loader?sourceMap'), 'stylus': styleLoader.call(this, 'stylus', 'stylus-loader'), 'styl': styleLoader.call(this, 'stylus', 'stylus-loader')