Expose more SFCStyleCompileOptions in style option. Because sometimes we need pass some parameters like preprocessLang into compileStyleAsync in @vue/compiler-sfc.
Additional context
See this code in vue official playground. It produce a css output:
But sass can't process this output, so we need pass preprocessLang into compileStyleAsync to call it internal preprocessor. But there isn't option preprocessLang in Options.style. So it need to be expanded.
Description
Expose more SFCStyleCompileOptions in style option. Because sometimes we need pass some parameters like
preprocessLang
intocompileStyleAsync
in@vue/compiler-sfc
.Additional context
See this code in vue official playground. It produce a css output:
But sass can't process this output, so we need pass
preprocessLang
intocompileStyleAsync
to call it internal preprocessor. But there isn't optionpreprocessLang
inOptions.style
. So it need to be expanded.