소스 검색

fix: fix browser module resolution for parcel (#15426)

Justin Starry 4 년 전
부모
커밋
c6d8a1f537
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      web3.js/package.json

+ 1 - 0
web3.js/package.json

@@ -20,6 +20,7 @@
     "access": "public"
   },
   "browser": {
+    "./lib/index.cjs.js": "./lib/index.browser.esm.js",
     "./lib/index.esm.js": "./lib/index.browser.esm.js"
   },
   "main": "lib/index.cjs.js",