We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c905b3f commit 5512546Copy full SHA for 5512546
newfile
package.json
@@ -18,14 +18,10 @@
18
},
19
"exports": {
20
".": {
21
- "import": {
22
- "types": "./build/mjs/index.d.ts",
23
- "default": "./build/mjs/index.js"
24
- },
25
- "require": {
26
- "types": "./build/cjs/index.d.ts",
27
- "default": "./build/cjs/index.js"
28
- }
+ "types": "./build/types/index.d.ts",
+ "import": "./build/mjs/index.js",
+ "require": "./build/cjs/index.js",
+ "default": "./build/mjs/index.js"
29
}
30
31
"repository": {
tsconfig-base.json
@@ -20,6 +20,7 @@
"sourceMap": true,
"strict": true,
"skipLibCheck": true,
- "target": "es2022"
+ "target": "es2022",
+ "declarationDir": "build/types"
0 commit comments