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')