Skip to content

Commit d5dd5bb

Browse files
code fix
1 parent e128642 commit d5dd5bb

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

tsconfig-cjs.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"extends": "./tsconfig.json",
3-
"compilerOptions": {
4-
"module": "commonjs",
5-
"outDir": "./dist/cjs"
6-
}
7-
}
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"module": "CommonJS",
5+
"outDir": "./dist/cjs"
6+
}
7+
}

tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"compilerOptions": {
33
"target": "es2018",
4-
"module": "esnext",
4+
"module": "NodeNext",
5+
"moduleResolution": "NodeNext",
56
"outDir": "./dist/esm",
67
"declaration": true,
78
"declarationDir": "./dist/types",
89
"strict": true,
9-
"esModuleInterop": true,
10-
"moduleResolution": "node"
10+
"esModuleInterop": true
1111
},
1212
"include": ["src"],
1313
"exclude": ["node_modules", "dist"]

0 commit comments

Comments
 (0)