From bb11031c7959aa50fa99af7ec015c7f26882495d Mon Sep 17 00:00:00 2001 From: Martin Guillon Date: Sat, 3 Oct 2020 21:21:09 +0200 Subject: [PATCH] fix: ensure globals do not get tree shaked For some reason we need to have the three of those for it to work correctly Fixes https://github.com/NativeScript/NativeScript/issues/8925 --- packages/core/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/core/package.json b/packages/core/package.json index e41d0eb07b..713799822f 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -10,7 +10,9 @@ "url": "https://github.com/NativeScript/NativeScript" }, "sideEffects": [ - "./globals/index.js" + "bundle-entry-points.js", + "./globals/index.js", + "./globals" ], "files": [ "**/*.d.ts",