This commit is contained in:
tangly1024.com
2024-02-04 18:28:03 +08:00
parent a234a10abf
commit 1e984d1108
4 changed files with 8 additions and 13 deletions

View File

@@ -94,7 +94,7 @@ module.exports = withBundleAnalyzer({
// }
// 动态主题:添加 resolve.alias 配置,将动态路径映射到实际路径
if (!isServer) {
console.log('加载默认主题', path.resolve(__dirname, 'themes', THEME))
console.log('[加载主题]', path.resolve(__dirname, 'themes', THEME))
}
config.resolve.alias['@theme-components'] = path.resolve(__dirname, 'themes', THEME)
return config