mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
feat: add nitro.experimental.decorators
This commit is contained in:
parent
245128170a
commit
f5e69d7c70
@ -56,6 +56,8 @@ export async function initNitro (nuxt: Nuxt & { _nitro?: Nitro }) {
|
||||
experimental: {
|
||||
asyncContext: nuxt.options.experimental.asyncContext,
|
||||
typescriptBundlerResolution: nuxt.options.future.typescriptBundlerResolution || nuxt.options.typescript?.tsConfig?.compilerOptions?.moduleResolution?.toLowerCase() === 'bundler' || nuxt.options.nitro.typescript?.tsConfig?.compilerOptions?.moduleResolution?.toLowerCase() === 'bundler',
|
||||
// @ts-expect-error coming soon!
|
||||
decorators: nuxt.options.experimental.decorators,
|
||||
},
|
||||
framework: {
|
||||
name: 'nuxt',
|
||||
|
Loading…
Reference in New Issue
Block a user