This commit is contained in:
tangly1024.com
2024-02-02 16:52:32 +08:00
parent c498717870
commit d2e791c120
4 changed files with 9 additions and 9696 deletions

6
.gitignore vendored
View File

@@ -45,4 +45,8 @@ yarn-error.log*
# sitemap
/public/robots.txt
/public/sitemap.xml
/public/rss/*
/public/rss/*
# yarn
package-lock.json

View File

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

9693
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -37,7 +37,7 @@
"lodash.throttle": "^4.1.1",
"memory-cache": "^0.2.0",
"mongodb": "^4.6.0",
"next": "13.5.1",
"next": "14.1.0",
"notion-client": "6.15.6",
"notion-utils": "6.15.6",
"nprogress": "^0.2.0",