Fix browser version export not being exported
Òscar Casajuana elboletaire@gmail.com
Tue, 21 Feb 2023 18:39:37 +0100
1 files changed,
9 insertions(+),
0 deletions(-)
jump to
M
package.json
→
package.json
@@ -4,6 +4,15 @@ "version": "0.0.6",
"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",