We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6ce9c2 commit 19d50b9Copy full SHA for 19d50b9
packages/@vue/cli-plugin-typescript/index.js
@@ -15,8 +15,7 @@ module.exports = (api, options) => {
15
16
config.resolve
17
.extensions
18
- .prepend('.ts')
19
- .prepend('.tsx')
+ .merge(['.ts', '.tsx'])
20
21
const tsRule = config.module.rule('ts').test(/\.ts$/)
22
const tsxRule = config.module.rule('tsx').test(/\.tsx$/)
0 commit comments