u
This commit is contained in:
1 parent
0be0b0767a
commit
5f28a10d89
852 files changed
+8962
-111755
No files matched your search
@@ -34,11 +34,8 @@ export default defineConfig({
|
||||
__G3_NAMESPACE__: JSON.stringify(readScssDefault('namespace', 'g3')),
|
||||
__G3_STATE_PREFIX__: JSON.stringify(readScssDefault('state-prefix', 'is')),
|
||||
},
|
||||
css: {
|
||||
preprocessorOptions: {
|
||||
scss: { api: 'modern-compiler' },
|
||||
},
|
||||
},
|
||||
// 组件 SCSS 交给 Vite 自带的 modern compiler API 编译(v6 起是唯一实现,
|
||||
// `css.preprocessorOptions.scss.api` 选项已移除,写了也是空转 —— 见 vite.config.ts)。
|
||||
test: {
|
||||
environment: 'happy-dom',
|
||||
setupFiles: [fileURLToPath(new URL('./tests/setup.ts', import.meta.url))],
|
||||
|
||||
Reference in new issue
Block a user