perf: 优化构建依赖加载

This commit is contained in:
Ray.Hao committed 2026-06-19 08:27:41 +08:00
1 parent 03a9c03401
commit 7ffcf8820e
6 files changed
+62 -41

No files matched your search

-8
View File
@@ -3,9 +3,7 @@ import {
defineConfig,
presetAttributify,
presetIcons,
presetTypography,
presetUno,
presetWebFonts,
transformerDirectives,
transformerVariantGroup,
} from "unocss";
@@ -71,12 +69,6 @@ export default defineConfig({
}),
},
}),
presetTypography(),
presetWebFonts({
fonts: {
// ...
},
}),
],
safelist: generateSafeList(),
transformers: [transformerDirectives(), transformerVariantGroup()],