mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-16 13:48:13 +00:00
fix(kit): set typescript moduleDetection
to 'force' (#26667)
This commit is contained in:
parent
1a0cde7e10
commit
c8f63684af
@ -129,6 +129,7 @@ export async function _generateTypes (nuxt: Nuxt) {
|
||||
jsxImportSource: 'vue',
|
||||
target: 'ESNext',
|
||||
module: 'ESNext',
|
||||
moduleDetection: 'force',
|
||||
moduleResolution: nuxt.options.future?.typescriptBundlerResolution || (nuxt.options.experimental as any)?.typescriptBundlerResolution ? 'Bundler' : 'Node',
|
||||
skipLibCheck: true,
|
||||
isolatedModules: true,
|
||||
|
Loading…
Reference in New Issue
Block a user