Skip to content

Commit 135b86e

Browse files
authored
fix(vue): Standalone tsconfig moduleResultion should be node (#19759)
1 parent 406018c commit 135b86e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/vue/src/generators/library/__snapshots__/library.spec.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ exports[`lib nested should create a local tsconfig.json 1`] = `
88
"esModuleInterop": false,
99
"jsx": "preserve",
1010
"jsxImportSource": "vue",
11-
"moduleResolution": "bundler",
11+
"moduleResolution": "node",
1212
"resolveJsonModule": true,
1313
"strict": true,
1414
"verbatimModuleSyntax": true,

packages/vue/src/utils/create-ts-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function createTsConfig(
2121
strict: options.strict,
2222
jsx: 'preserve',
2323
jsxImportSource: 'vue',
24-
moduleResolution: 'bundler',
24+
moduleResolution: 'node',
2525
resolveJsonModule: true,
2626
verbatimModuleSyntax: options.unitTestRunner !== 'jest',
2727
},

0 commit comments

Comments
 (0)