We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e128642 commit d5dd5bbCopy full SHA for d5dd5bb
tsconfig-cjs.json
@@ -1,7 +1,7 @@
1
{
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "module": "commonjs",
5
- "outDir": "./dist/cjs"
6
- }
7
+ "extends": "./tsconfig.json",
+ "compilerOptions": {
+ "module": "CommonJS",
+ "outDir": "./dist/cjs"
+ }
+}
tsconfig.json
@@ -1,13 +1,13 @@
"compilerOptions": {
"target": "es2018",
- "module": "esnext",
+ "module": "NodeNext",
+ "moduleResolution": "NodeNext",
"outDir": "./dist/esm",
"declaration": true,
8
"declarationDir": "./dist/types",
9
"strict": true,
- "esModuleInterop": true,
10
- "moduleResolution": "node"
+ "esModuleInterop": true
11
},
12
"include": ["src"],
13
"exclude": ["node_modules", "dist"]
0 commit comments