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

This commit is contained in:
Justin Starry 2021-02-19 15:23:45 +08:00 committed by GitHub
parent e0e4bed205
commit c6d8a1f537
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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",