Skip to content

Commit

Permalink
fix(core): fix the module exports (#179)
Browse files Browse the repository at this point in the history
* fix(core): fix the module exports

* fix: not need  `?.`
  • Loading branch information
skiyee authored Jul 14, 2024
1 parent bc41c19 commit bf811f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ export class PageContext {
async loadUserPagesConfig() {
const configSource = this.options.configSource
const { config, sources } = await loadConfig<PagesConfig>({ cwd: this.root, sources: configSource, defaults: {} })
this.pagesGlobConfig = config
this.pagesGlobConfig = config.default || config
this.pagesConfigSourcePaths = sources
debug.options(config)
debug.options(this.pagesGlobConfig)
}

async scanPages() {
Expand Down

0 comments on commit bf811f5

Please # to comment.