chore: update @pureadmin/theme latest

This commit is contained in:
xiaoxian521
2022-12-15 12:51:18 +08:00
parent 806f56d80c
commit 6faffacf77
5 changed files with 24 additions and 37 deletions

View File

@@ -41,14 +41,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组件化支持