mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-02-07 07:28:28 -06:00
Revert "chore: prefer .tsx? files over .jsx? file extensions (#3909)"
This reverts commit c3b6519a11.
This commit is contained in:
@@ -15,8 +15,7 @@ module.exports = (api, options) => {
|
||||
|
||||
config.resolve
|
||||
.extensions
|
||||
.prepend('.ts')
|
||||
.prepend('.tsx')
|
||||
.merge(['.ts', '.tsx'])
|
||||
|
||||
const tsRule = config.module.rule('ts').test(/\.ts$/)
|
||||
const tsxRule = config.module.rule('tsx').test(/\.tsx$/)
|
||||
|
||||
Reference in New Issue
Block a user