Skip to content

Commit 5f96214

Browse files
committed
fix(info): de-default nuxt config
1 parent 1e9288c commit 5f96214

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/info.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ async function getNuxtConfig(rootDir: string) {
167167
},
168168
})
169169
;(globalThis as any).defineNuxtConfig = (c: any) => c
170-
const result = await jiti.import('./nuxt.config') as NuxtConfig
170+
const result = await jiti.import('./nuxt.config', { default: true }) as NuxtConfig
171171
delete (globalThis as any).defineNuxtConfig
172172
return result
173173
}

0 commit comments

Comments
 (0)