Skip to content

Commit

Permalink
fix(vue): Standalone tsconfig moduleResultion should be node
Browse files Browse the repository at this point in the history
  • Loading branch information
ndcunningham committed Oct 20, 2023
1 parent b30f3c5 commit 1d59f4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exports[`lib nested should create a local tsconfig.json 1`] = `
"esModuleInterop": false,
"jsx": "preserve",
"jsxImportSource": "vue",
"moduleResolution": "bundler",
"moduleResolution": "node",
"resolveJsonModule": true,
"strict": true,
"verbatimModuleSyntax": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/src/utils/create-ts-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function createTsConfig(
strict: options.strict,
jsx: 'preserve',
jsxImportSource: 'vue',
moduleResolution: 'bundler',
moduleResolution: 'node',
resolveJsonModule: true,
verbatimModuleSyntax: options.unitTestRunner !== 'jest',
},
Expand Down

0 comments on commit 1d59f4d

Please sign in to comment.