From ae31394848f08df7e7d884b80bb7614d88e0aba5 Mon Sep 17 00:00:00 2001 From: Maddy Miller Date: Mon, 31 Oct 2022 03:00:29 +1000 Subject: [PATCH] chore: add sideEffects false to package.json (#5025) * 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 * Fixed a typo and removed EOL There was no EOL in the original, so removing it to minimise diff * Update package.json Co-authored-by: Jay --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 61e7b688ed..e39cf61975 100644 --- a/package.json +++ b/package.json @@ -132,5 +132,6 @@ "Yasu Flores (https://github.com/yasuf)", "Ben Carp (https://github.com/carpben)", "Daniel Lopretto (https://github.com/timemachine3030)" - ] + ], + "sideEffects": false }