chore: optimize the efficiency of theme switching; 🌟
This commit is contained in:
@@ -16,6 +16,7 @@ module.exports = {
|
|||||||
new ThemeColorReplacer({
|
new ThemeColorReplacer({
|
||||||
fileName: 'css/theme-colors-[contenthash:8].css',
|
fileName: 'css/theme-colors-[contenthash:8].css',
|
||||||
matchColors: getThemeColors(),
|
matchColors: getThemeColors(),
|
||||||
|
injectCss: true,
|
||||||
resolveCss
|
resolveCss
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user