From 2c92fd48f133a5a5d0f6219916bc51836d864ffb Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Thu, 22 Nov 2018 03:53:03 +0100 Subject: [PATCH] fix: add `sideEffects: false` to react-error-overlay (#5451) This allows us to leave the import in the code, and webpack will still tree shake it out --- packages/react-error-overlay/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react-error-overlay/package.json b/packages/react-error-overlay/package.json index 43afbaf5cec..b5e9abd376f 100644 --- a/packages/react-error-overlay/package.json +++ b/packages/react-error-overlay/package.json @@ -3,6 +3,7 @@ "version": "5.1.0", "description": "An overlay for displaying stack frames.", "main": "lib/index.js", + "sideEffects": false, "scripts": { "start": "cross-env NODE_ENV=development node build.js --watch", "test": "cross-env NODE_ENV=test jest",