Skip to content

Commit 19f7dc1

Browse files
authored
feat: add react configuration (#118)
1 parent 6159508 commit 19f7dc1

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

configuration/basic.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"compilerOptions": {
33
"target": "esnext",
44
"lib": ["dom", "dom.iterable", "esnext", "webworker"],
5-
"jsx": "react-jsx",
65
"allowJs": true,
76
"skipLibCheck": true,
87

configuration/react.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "./basic.json",
3+
"compilerOptions": {
4+
"jsx": "react-jsx"
5+
}
6+
}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
},
2525
"exports": {
2626
".": "./configuration/basic.json",
27-
"./basic": "./configuration/basic.json"
27+
"./basic": "./configuration/basic.json",
28+
"./react": "./configuration/react.json"
2829
},
2930
"files": [
3031
"./configuration/"

0 commit comments

Comments
 (0)