From 2c0724d00b45664757c380188618908fcae2c606 Mon Sep 17 00:00:00 2001 From: Emmanuel Chambon Date: Wed, 28 Oct 2020 16:48:51 +0100 Subject: [PATCH] fix: correct browser entrypoints --- packages/example_package/package.json | 4 ++-- packages/random-name/package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/example_package/package.json b/packages/example_package/package.json index 7154f5187..a643d07e8 100644 --- a/packages/example_package/package.json +++ b/packages/example_package/package.json @@ -5,8 +5,8 @@ "main": "dist/index.js", "module": "dist/module.js", "browser": { - "dist/index.js": "dist/index.browser.js", - "dist/module.js": "dist/module.browser.js" + "dist/index.js": "./dist/index.browser.js", + "dist/module.js": "./dist/module.browser.js" }, "repository": { "type": "git", diff --git a/packages/random-name/package.json b/packages/random-name/package.json index b2618f30d..c68d86726 100644 --- a/packages/random-name/package.json +++ b/packages/random-name/package.json @@ -5,8 +5,8 @@ "main": "dist/index.js", "module": "dist/module.js", "browser": { - "dist/index.js": "dist/index.browser.js", - "dist/module.js": "dist/module.browser.js" + "dist/index.js": "./dist/index.browser.js", + "dist/module.js": "./dist/module.browser.js" }, "repository": { "type": "git",