mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 06:35:10 +00:00
Add source map for SASS
This commit is contained in:
parent
4cd48f3927
commit
2cb6e1e596
@ -17,7 +17,7 @@ export default function ({ isClient }) {
|
|||||||
'js': 'babel-loader?' + babelOptions,
|
'js': 'babel-loader?' + babelOptions,
|
||||||
'css': styleLoader.call(this, 'css'),
|
'css': styleLoader.call(this, 'css'),
|
||||||
'less': styleLoader.call(this, 'less', 'less-loader'),
|
'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'),
|
'scss': styleLoader.call(this, 'sass', 'sass-loader?sourceMap'),
|
||||||
'stylus': styleLoader.call(this, 'stylus', 'stylus-loader'),
|
'stylus': styleLoader.call(this, 'stylus', 'stylus-loader'),
|
||||||
'styl': styleLoader.call(this, 'stylus', 'stylus-loader')
|
'styl': styleLoader.call(this, 'stylus', 'stylus-loader')
|
||||||
|
Loading…
Reference in New Issue
Block a user