From f5d1ab1bcd422ae8298dfd95ca8a617385025a59 Mon Sep 17 00:00:00 2001 From: Haroen Viaene Date: Thu, 5 Apr 2018 16:55:17 +0200 Subject: [PATCH] feat(size): add sideEffects false to package.json (#2861) Why is this done? see Long story short, modules can do crazy things, but if we don't do any polyfilling, we can opt into better behaviour fixes #2859 as good as we can for now --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 42195fc2e5..3e3f0244c3 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "main": "dist-es5-module/index.js", "module": "./es/index.js", "jsdelivr": "dist/instantsearch.min.js", + "sideEffects": false, "scripts": { "build": "./scripts/build.sh", "dev": "./scripts/dev.sh",