chore: update @pureadmin/theme latest

This commit is contained in:
xiaoxian521
2022-12-15 12:41:02 +08:00
parent 4d57c9e3d7
commit bc548d500c
5 changed files with 10 additions and 23 deletions

View File

@@ -33,14 +33,7 @@ export function getPluginsList(
themePreprocessorPlugin({
scss: {
multipleScopeVars: genScssMultipleScopeVars(),
// 在生产模式是否抽取独立的主题css文件extract为true以下属性有效
extract: true,
// 会选取defaultScopeName对应的主题css文件在html添加link
themeLinkTagId: "head",
// "head"||"head-prepend" || "body" ||"body-prepend"
themeLinkTagInjectTo: "head",
// 是否对抽取的css文件内对应scopeName的权重类名移除
removeCssScopeName: false
extract: true
}
}),
// svg组件化支持