From 805a5885f84e5a078eb22019de07eac72edc5b07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Rebours?= Date: Wed, 26 May 2021 16:23:16 +0200 Subject: [PATCH] fix browser fields in the package.json --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 412ca77..59c923c 100755 --- a/package.json +++ b/package.json @@ -72,7 +72,10 @@ "prepublishOnly": "npm run build:browser" }, "main": "index.js", - "browser": "browser-version/out/nedb.min.js", + "browser": { + "./lib/customUtils.js": "./browser-version/lib/customUtils.js", + "./lib/storage.js": "./browser-version/lib/storage.js" + }, "license": "MIT", "publishConfig": { "access": "public"