Skip to content

Commit

Permalink
fix: add hmr hotfix for nitro
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Mar 21, 2024
1 parent 40c62a2 commit 0868eaa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/modules/content/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ export default defineNuxtModule({
Object.assign(docsConfig, newConfig)
const nitro = useNitro()
nitro.updateConfig({
// @ts-expect-error TODO: temp fix for nitro
experimental: {},
runtimeConfig: {
...nitro.options.runtimeConfig,
__undocs__: { docsConfig },
Expand Down

0 comments on commit 0868eaa

Please sign in to comment.