We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e9288c commit 5f96214Copy full SHA for 5f96214
src/commands/info.ts
@@ -167,7 +167,7 @@ async function getNuxtConfig(rootDir: string) {
167
},
168
})
169
;(globalThis as any).defineNuxtConfig = (c: any) => c
170
- const result = await jiti.import('./nuxt.config') as NuxtConfig
+ const result = await jiti.import('./nuxt.config', { default: true }) as NuxtConfig
171
delete (globalThis as any).defineNuxtConfig
172
return result
173
}
0 commit comments