Skip to content

Commit 11720ac

Browse files
committed
done(package.json)
1 parent d8b28be commit 11720ac

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

package.json

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,26 @@
66
"engines": {
77
"node": ">=18"
88
},
9-
"main": "dist/cjs/index.js",
10-
"types": "dist/index.d.ts",
11-
"module": "dist/index.js",
9+
"main": "./dist/cjs/index.js",
10+
"types": "./dist/index.d.ts",
11+
"module": "./dist/index.js",
1212
"exports": {
1313
".": {
14-
"types": "./dist/index.d.ts",
15-
"import": "./dist/index.js",
16-
"require": "./dist/cjs/index.js",
17-
"default": "./dist/cjs/index.js"
14+
"import": {
15+
"types": "./dist/index.d.ts",
16+
"default": "./dist/index.js"
17+
},
18+
"require": {
19+
"types": "./dist/cjs/index.d.ts",
20+
"default": "./dist/cjs/index.js"
21+
},
22+
"default": "./dist/cjs/index.js"
1823
},
1924
"./package.json": "./package.json"
2025
},
26+
"sideEffects": false,
2127
"files": [
22-
"dist",
23-
"lib"
28+
"dist"
2429
],
2530
"scripts": {
2631
"pretest": "npm run format && npm run build",

0 commit comments

Comments
 (0)