Some 'browser' field magic

pull/14/head
Nikita Karamov 2020-07-23 19:18:19 +02:00
parent db8b0751d7
commit 79869a6e26
No known key found for this signature in database
GPG Key ID: E40DFE6E993540FF
1 changed files with 3 additions and 0 deletions

View File

@ -28,6 +28,9 @@
"require": "./dist/shareon.cjs", "require": "./dist/shareon.cjs",
"import": "./dist/shareon.mjs" "import": "./dist/shareon.mjs"
}, },
"browser": {
"./noinit": "./dist/noinit"
},
"files": [ "files": [
"dist" "dist"
], ],