perf: 优化构建依赖加载
This commit is contained in:
@@ -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()],
|
||||
|
||||
Reference in New Issue
Block a user