added "browser" conditional to "exports" in package.json (#6881)

pull/6907/head
bf-software 3 years ago committed by GitHub
parent 2484acea26
commit 4d4f959f16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -22,6 +22,10 @@
"exports": {
"./package.json": "./package.json",
".": {
"browser": {
"import": "./index.mjs",
"require": "./index.js"
},
"node": {
"import": "./ssr.mjs",
"require": "./ssr.js"

Loading…
Cancel
Save