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 864a74a commit efa5d54Copy full SHA for efa5d54
build.config.ts
@@ -5,6 +5,6 @@ export default defineBuildConfig({
5
'src/index',
6
'src/cli',
7
],
8
- declaration: true,
+ declaration: 'node16',
9
clean: true,
10
})
package.json
@@ -21,14 +21,12 @@
21
22
"sideEffects": false,
23
"exports": {
24
- ".": {
25
- "types": "./dist/index.d.ts",
26
- "import": "./dist/index.mjs"
27
- }
+ ".": "./dist/index.mjs",
+ "./package.json": "./package.json"
28
},
29
"main": "./dist/index.mjs",
30
"module": "./dist/index.mjs",
31
+ "types": "./dist/index.d.mts",
32
"bin": {
33
"sponsorkit": "./bin/sponsorkit.mjs"
34
0 commit comments