mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-25 07:26:49 +00:00
NAV主题
This commit is contained in:
@@ -91,6 +91,12 @@ module.exports = withBundleAnalyzer({
|
||||
// })
|
||||
// }
|
||||
|
||||
// 排除所有后缀名为 .md 的文件的编译
|
||||
config.module.rules.push({
|
||||
test: /\.md$/,
|
||||
use: 'raw-loader'
|
||||
});
|
||||
|
||||
// 动态主题:添加 resolve.alias 配置,将动态路径映射到实际路径
|
||||
config.resolve.alias['@theme-components'] = path.resolve(__dirname, 'themes', THEME)
|
||||
return config
|
||||
|
||||
Reference in New Issue
Block a user