Skip to content

Commit bb2336d

Browse files
committed
fix(package): add sideEffects: false, reorganize exports
1 parent b83334a commit bb2336d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,26 @@
55
"files": [
66
"dist"
77
],
8+
"sideEffects": false,
89
"main": "./dist/index.js",
910
"module": "./dist/index.mjs",
11+
"types": "./dist/index.d.ts",
1012
"exports": {
1113
".": {
14+
"types": "./dist/index.d.ts",
1215
"require": "./dist/index.js",
1316
"import": "./dist/index.mjs",
1417
"node": "./dist/index.js",
15-
"types": "./dist/index.d.ts",
1618
"default": "./dist/index.global.js"
1719
},
1820
"./arbitrary": {
21+
"types": "./dist/arbitrary.d.ts",
1922
"require": "./dist/arbitrary.js",
2023
"import": "./dist/arbitrary.mjs",
2124
"node": "./dist/arbitrary.js",
22-
"types": "./dist/arbitrary.d.ts",
2325
"default": "./dist/arbitrary.global.js"
2426
}
2527
},
26-
"types": "./dist/index.d.ts",
2728
"scripts": {
2829
"build": "rimraf dist && tsup",
2930
"test": "jest",

0 commit comments

Comments
 (0)