Skip to content

Commit ae2e88f

Browse files
authored
fix(rslib): compatible with ts6 (#145)
1 parent 6e6f812 commit ae2e88f

4 files changed

Lines changed: 4 additions & 2 deletions

File tree

cases/rslib/rslib-node-basic/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "rslib-node-basic",
3+
"type": "module",
34
"private": true,
45
"scripts": {
56
"build": "rslib build"

cases/rslib/rslib-node-basic/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"strict": true,
3+
"rootDir": "src",
44
"skipLibCheck": true
55
},
66
"include": ["src/**/*"]

cases/rslib/rslib-react-basic/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "rslib-react-basic",
3+
"type": "module",
34
"private": true,
45
"scripts": {
56
"build": "rslib build"

cases/rslib/rslib-react-basic/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"jsx": "react-jsx",
4-
"strict": true,
4+
"rootDir": "src",
55
"skipLibCheck": true
66
},
77
"include": ["src/**/*"]

0 commit comments

Comments
 (0)