Skip to content

Commit

Permalink
Add a test for swc-project#1448
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Apr 1, 2021
1 parent e7ab44e commit e5082dc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/issue-1448/case1/input/.swcrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"env": {
"coreJs": 3
},
"jsc": {
"parser": {
"syntax": "typescript",
"tsx": true
},
"loose": true
}
}
2 changes: 2 additions & 0 deletions tests/issue-1448/case1/input/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import F = require("yaml")
console.log(F)

0 comments on commit e5082dc

Please sign in to comment.