fix(theme): incorrect configuration loading and page generation sequence
This commit is contained in:
parent
133c4f996f
commit
2e1ad23112
@ -63,12 +63,13 @@ export function plumeTheme(options: ThemeOptions = {}): Theme {
|
||||
|
||||
plugins: setupPlugins(app, plugins),
|
||||
|
||||
extendsBundlerOptions: async (bundlerOptions, app) => {
|
||||
extendsBundlerOptions(bundlerOptions, app)
|
||||
extendsMarkdownOptions: async (_, app) => {
|
||||
await configLoader.waiting()
|
||||
await generateFileListFrontmatter(app)
|
||||
},
|
||||
|
||||
extendsBundlerOptions,
|
||||
|
||||
templateBuildRenderer,
|
||||
|
||||
extendsPage: page => extendsPageData(page as Page<ThemePageData>),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user