mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-31 07:40:33 +00:00
feat(nuxt): add layer meta and env overrides to config types (#20329)
This commit is contained in:
parent
b2a1f9f339
commit
24cce84e4b
3
packages/nuxt/config.d.ts
vendored
3
packages/nuxt/config.d.ts
vendored
@ -1,4 +1,5 @@
|
||||
import type { NuxtConfig } from 'nuxt/schema'
|
||||
import type { DefineConfig, InputConfig, UserInputConfig, ConfigLayerMeta } from 'c12'
|
||||
export { NuxtConfig } from 'nuxt/schema'
|
||||
|
||||
export declare function defineNuxtConfig(config: NuxtConfig): NuxtConfig
|
||||
export declare const defineNuxtConfig: DefineConfig<NuxtConfig, ConfigLayerMeta>
|
||||
|
@ -61,6 +61,7 @@
|
||||
"@unhead/ssr": "^1.1.26",
|
||||
"@unhead/vue": "^1.1.26",
|
||||
"@vue/shared": "^3.2.47",
|
||||
"c12": "^1.3.0",
|
||||
"chokidar": "^3.5.3",
|
||||
"cookie-es": "^0.5.0",
|
||||
"defu": "^6.1.2",
|
||||
|
@ -587,6 +587,9 @@ importers:
|
||||
'@vue/shared':
|
||||
specifier: ^3.2.47
|
||||
version: 3.2.47
|
||||
c12:
|
||||
specifier: ^1.3.0
|
||||
version: 1.4.1
|
||||
chokidar:
|
||||
specifier: ^3.5.3
|
||||
version: 3.5.3
|
||||
|
Loading…
Reference in New Issue
Block a user