From a8dd5af748ea1dc43b140a6af452a8fd7e8b0afc Mon Sep 17 00:00:00 2001 From: Maddy Miller Date: Thu, 6 Oct 2022 11:50:26 +1000 Subject: [PATCH 1/3] chore: add sideEffects false to package.json This flag within the package.json file allows marking that a package does not make use of side effects, as documented here: https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c5b4c94a1b..f5b34c69a1 100644 --- a/package.json +++ b/package.json @@ -129,5 +129,6 @@ "Yasu Flores (https://github.com/yasuf)", "Ben Carp (https://github.com/carpben)", "Daniel Lopretto (https://github.com/timemachine3030)" - ] -} \ No newline at end of file + ], + "sideEffects" false +} From e64dee1e1d6deb9fd946d5974aa4c0ac638b1d6b Mon Sep 17 00:00:00 2001 From: Maddy Miller Date: Thu, 6 Oct 2022 17:36:19 +1000 Subject: [PATCH 2/3] Fixed a typo and removed EOL There was no EOL in the original, so removing it to minimise diff --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f5b34c69a1..fe5e5140c3 100644 --- a/package.json +++ b/package.json @@ -130,5 +130,5 @@ "Ben Carp (https://github.com/carpben)", "Daniel Lopretto (https://github.com/timemachine3030)" ], - "sideEffects" false + "sideEffects": false } From 6b7d155711341fa4c1ba855e0a296d25bd370592 Mon Sep 17 00:00:00 2001 From: Maddy Miller Date: Thu, 6 Oct 2022 17:36:59 +1000 Subject: [PATCH 3/3] Update package.json