mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-04 07:26:47 +00:00
登录结合OpenWrite
This commit is contained in:
@@ -194,6 +194,8 @@ const nextConfig = {
|
||||
},
|
||||
webpack: (config, { dev, isServer }) => {
|
||||
// 动态主题:添加 resolve.alias 配置,将动态路径映射到实际路径
|
||||
config.resolve.alias['@'] = path.resolve(__dirname)
|
||||
|
||||
if (!isServer) {
|
||||
console.log('[默认主题]', path.resolve(__dirname, 'themes', THEME))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user