From 4c3368f297e5f995a98ce31a3c5faf82a02c05ee Mon Sep 17 00:00:00 2001 From: Andrew Lisowski Date: Thu, 23 Feb 2023 15:18:02 -0800 Subject: [PATCH] Mark dep as side effect free for tree shaking (#123) This hints to bundlers that things can be shaken --- packages/react-arborist/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react-arborist/package.json b/packages/react-arborist/package.json index 0726fd7..c04f5c1 100644 --- a/packages/react-arborist/package.json +++ b/packages/react-arborist/package.json @@ -6,6 +6,7 @@ "main": "dist/index.js", "module": "dist/module.js", "types": "dist/index.d.ts", + "sideEffects": false, "scripts": { "start": "run-p 'start:**'", "build": "npm-run-all clean -p 'build:**'",