Skip to content

Commit

Permalink
fix: 🐛 ts extion bug ts => ts
Browse files Browse the repository at this point in the history
  • Loading branch information
huruji committed Apr 16, 2019
1 parent 3e90793 commit 964312c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions examples/ts-example/package.json
@@ -0,0 +1,12 @@
{
"name": "ts-example",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC"
}
2 changes: 1 addition & 1 deletion packages/cli/compiler/utils/createWebpackChain.js
Expand Up @@ -18,7 +18,7 @@ module.exports = (config) => {
Chain.resolve.extensions
.add('.js')
.add('.jsx')
.add('.tx')
.add('.ts')
.add('.tsx')
.add('.json')
.add('.vue')
Expand Down

0 comments on commit 964312c

Please sign in to comment.