From 17abe79eb0521665d33e0594dad7cccf932d1958 Mon Sep 17 00:00:00 2001 From: Stephan Hesse Date: Sun, 17 Oct 2021 23:05:33 +0200 Subject: [PATCH] fix issue on import of legacy dependent packages see https://stackoverflow.com/a/69564152/589493 this only fixes the issue for v1, additional patches needed for the other versions not sure this is a desired "fix" as i am not sure this is considered a bug itfp by maintainers. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f0ab3711..f0589941 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,8 @@ }, "default": "./dist/esm-browser/index.js" }, - "./package.json": "./package.json" + "./package.json": "./package.json", + "./v1": "./dist/v1.js" }, "module": "./dist/esm-node/index.js", "browser": {