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 16535dc commit c7be01fCopy full SHA for c7be01f
package.json
@@ -16,11 +16,11 @@
16
"type": "module",
17
"main": "./lib/index.cjs",
18
"module": "./lib/index.mjs",
19
- "types": "./lib/index.d.ts",
+ "types": "./lib/index.d.cts",
20
"exports": {
21
".": {
22
"require": {
23
24
"default": "./lib/index.cjs"
25
},
26
"import": {
tsup.config.ts
@@ -13,6 +13,7 @@ export default defineConfig({
13
bundle: false,
14
minify: true,
15
clean: true,
+ dts: { resolve: true, entry: "src/index.ts" },
cjsInterop: true,
splitting: true,
});
0 commit comments