refactor(nuxt3): export NuxtConfig for convenience (#1039)

This commit is contained in:
Patrick Remy 2021-10-14 17:22:37 +02:00 committed by GitHub
parent 940f741aa4
commit 3e38eb8511
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -84,3 +84,6 @@ export async function loadNuxt (opts: LoadNuxtOptions): Promise<Nuxt> {
export function defineNuxtConfig (config: NuxtConfig): NuxtConfig {
return config
}
// For a convenience import together with `defineNuxtConfig`
export type { NuxtConfig }