提交 b611f3df 编写于 作者: fxy060608's avatar fxy060608

fix(nvue): compatible with sass-loader@8 (question/90454)

上级 c1fccdf7
......@@ -59,13 +59,21 @@ const sassLoader = {
}
if (sassLoaderVersion < 8) {
scssLoader.options.data = sassData
scssLoader.options.data = sassData
scssLoader.options.outputStyle = 'nested'
sassLoader.options.data = sassData
sassLoader.options.outputStyle = 'nested'
sassLoader.options.indentedSyntax = true
} else {
scssLoader.options.prependData = sassData
scssLoader.options.prependData = sassData
scssLoader.options.sassOptions = {
outputStyle: 'nested'
}
sassLoader.options.prependData = sassData
sassLoader.options.sassOptions = {
outputStyle: 'nested',
indentedSyntax: true
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册