fix(scss, types): 修正打包产物
- 更新SCSS导出方式,支持引用SCSS变量系统(编译为CSS) - 修复SCSS类名不对应问题 - 修复无types导出问题 - 修改导出路径,避免vite build覆盖其余编译产物 - 支持tree-shaking,不暴露内部路径 BREAKING CHANGES: 1.0.0->2.0.0
This commit is contained in:
@@ -9,7 +9,10 @@
|
||||
"allowImportingTsExtensions": true,
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"noEmit": true,
|
||||
"noEmit": false,
|
||||
"emitDeclarationOnly": true,
|
||||
"declaration": true,
|
||||
"declarationDir": "dist/types",
|
||||
"jsx": "preserve",
|
||||
"strict": true,
|
||||
"noUnusedLocals": true,
|
||||
|
||||
Reference in New Issue
Block a user