Skip to content

Commit

Permalink
fix(kit): set typescript moduleDetection to 'force' (#26667)
Browse files Browse the repository at this point in the history
  • Loading branch information
wJoenn committed Apr 19, 2024
1 parent 1a0cde7 commit c8f6368
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/kit/src/template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c8f6368

Please sign in to comment.