mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
refactor(nuxt3): export NuxtConfig for convenience (#1039)
This commit is contained in:
parent
940f741aa4
commit
3e38eb8511
@ -84,3 +84,6 @@ export async function loadNuxt (opts: LoadNuxtOptions): Promise<Nuxt> {
|
|||||||
export function defineNuxtConfig (config: NuxtConfig): NuxtConfig {
|
export function defineNuxtConfig (config: NuxtConfig): NuxtConfig {
|
||||||
return config
|
return config
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// For a convenience import together with `defineNuxtConfig`
|
||||||
|
export type { NuxtConfig }
|
||||||
|
Loading…
Reference in New Issue
Block a user