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

fix(nvue): preprocess scss

上级 d53f6899
...@@ -35,7 +35,6 @@ function loader(content) { ...@@ -35,7 +35,6 @@ function loader(content) {
const options = (0, _loaderUtils.getOptions)(this) || {}; const options = (0, _loaderUtils.getOptions)(this) || {};
// fixed by xxxxxx // fixed by xxxxxx
const isNVue = !!options.nvue; const isNVue = !!options.nvue;
delete options.nvue;
(0, _schemaUtils.default)(_options.default, options, { (0, _schemaUtils.default)(_options.default, options, {
name: 'Sass Loader', name: 'Sass Loader',
baseDataPath: 'options' baseDataPath: 'options'
......
...@@ -35,6 +35,10 @@ ...@@ -35,6 +35,10 @@
"webpackImporter": { "webpackImporter": {
"description": "Enables/Disables default `webpack` importer (https://github.com/webpack-contrib/sass-loader#webpackimporter).", "description": "Enables/Disables default `webpack` importer (https://github.com/webpack-contrib/sass-loader#webpackimporter).",
"type": "boolean" "type": "boolean"
},
"nvue": {
"description": "nvue",
"type": "boolean"
} }
}, },
"additionalProperties": false "additionalProperties": false
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册