samonxian / vite-plugin-build

Vite library mode plugin,which support transfom the whole folder and emit dceclaration files. Vite 库模式插件,支持整个文件夹的转换和声明文件生成。(支持 vanilla、react、vue3 和 svelte)
60 stars 6 forks source link

不支持scss? #9

Closed chenxin9482 closed 1 year ago

chenxin9482 commented 1 year ago

我将 vue-ts clone下来一份,然后执行 npm i sass,接着将less修改成scss,最后执行npm run build 没有生成对应CSS文件,打包出来index.js的css引用是这样的

import style0 from "xxx/src/a/index.vue?used&vue&type=style&index=0&lang.module.scss";

sass是需要额外的什么配置么?

samonxian commented 1 year ago

之前的没有支持 vue 的 scss,0.7.1 版本支持了