Skip to content
This repository was archived by the owner on Apr 26, 2025. It is now read-only.

Commit d7bc356

Browse files
committed
Fix bundling issue with React/browsers
1 parent eaf043b commit d7bc356

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
"main": "build/cjs/index.js",
66
"module": "build/esm/index.js",
77
"types": "build/esm/index.d.ts",
8+
"browser": {
9+
"crypto": false
10+
},
811
"scripts": {
912
"build": "rm -rf build/ && rollup -c",
1013
"lint": "eslint . --ext .ts,.tsx",

0 commit comments

Comments
 (0)