From f8f1fb61a51839a63297be0de794454975bb0b51 Mon Sep 17 00:00:00 2001 From: Rikki Gibson Date: Thu, 2 Aug 2018 15:07:10 -0700 Subject: [PATCH] Add "sideEffects": false for webpack 4 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 fb32283f..f1570138 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 }