From 3ff6c8c0e65ce56bd641688ee9a45979d1207917 Mon Sep 17 00:00:00 2001 From: Rikki Gibson Date: Fri, 3 Aug 2018 11:37:22 -0700 Subject: [PATCH] Add "sideEffects": false for webpack 4 (#181) When constructing my sample I found this flag prevented webpack from including a redundant copy of the runtime in the bundle. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index fb32283fc6a3..f1570138917e 100644 --- a/package.json +++ b/package.json @@ -96,5 +96,6 @@ "local": "node ./.scripts/local.js", "preview": "node ./.scripts/preview.js", "latest": "node ./.scripts/latest.js" - } + }, + "sideEffects": false }