This commit is contained in:
tangly1024.com
2023-06-27 17:26:45 +08:00
parent 661a7f06f4
commit fe51f15d5e

View File

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