mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
fix(kit): apply preferred options for esbuild transpilation (#22468)
This commit is contained in:
parent
c11585e713
commit
4d84c714e0
@ -121,6 +121,8 @@ export async function writeTypes (nuxt: Nuxt) {
|
||||
module: 'ESNext',
|
||||
moduleResolution: nuxt.options.experimental?.typescriptBundlerResolution ? 'Bundler' : 'Node',
|
||||
skipLibCheck: true,
|
||||
isolatedModules: true,
|
||||
useDefineForClassFields: true,
|
||||
strict: nuxt.options.typescript?.strict ?? true,
|
||||
allowJs: true,
|
||||
noEmit: true,
|
||||
|
Loading…
Reference in New Issue
Block a user