Skip to content

Commit

Permalink
Add a test for swc-project#1726
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Jun 18, 2021
1 parent 8ce9ca0 commit 59314bd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/fixture/issue-1726/case1/.swcrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"sourceMaps": "inline",
"jsc": {
"target": "es5",
"parser": {
"syntax": "typescript",
"tsx": true
},
"loose": true
}
}
1 change: 1 addition & 0 deletions tests/fixture/issue-1726/case1/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
const foo = <h1>{bar}</h1>

0 comments on commit 59314bd

Please sign in to comment.