diff --git a/packages/nuxi/src/utils/prepare.ts b/packages/nuxi/src/utils/prepare.ts index f42dcc1ead..9e5aaee20c 100644 --- a/packages/nuxi/src/utils/prepare.ts +++ b/packages/nuxi/src/utils/prepare.ts @@ -10,6 +10,7 @@ export const writeTypes = async (nuxt: Nuxt) => { const tsConfig: TSConfig = defu(nuxt.options.typescript?.tsConfig, { compilerOptions: { + jsx: 'preserve', target: 'ESNext', module: 'ESNext', moduleResolution: 'Node',