From 81ceec4895e68622e8efcdcad9aa73713a6cd3e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=92scar=20Casajuana?= Date: Tue, 21 Feb 2023 18:39:37 +0100 Subject: [PATCH] Fix browser version export not being exported --- package.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/package.json b/package.json index f305a2a..cb9b035 100644 --- a/package.json +++ b/package.json @@ -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",