Fix browser version export not being exported

This commit is contained in:
Òscar Casajuana
2023-02-21 18:39:37 +01:00
parent 488b33e08a
commit 81ceec4895

View File

@@ -4,6 +4,15 @@
"description": "Blind signatures over secp256k1, compatible with https://github.com/arnaucube/go-blindsecp256k1",
"main": "dist/index",
"types": "dist/index",
"exports": {
".": {
"browser": {
"default": "./dist/blindsecp256k1-browser.js"
},
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"prepublishOnly": "npm run build",
"clean": "rimraf dist",