From 16c4b2211e9847725bdb437c595cbcc53f2da38b Mon Sep 17 00:00:00 2001 From: Enrique Piqueras Date: Wed, 4 Dec 2019 09:28:51 -0800 Subject: [PATCH] chore: Add `sideEffects` hint for ESM bundlers. See https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 49a1ef135..1b57380af 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "main": "dist/downshift.cjs.js", "react-native": "dist/downshift.native.cjs.js", "module": "dist/downshift.esm.js", + "sideEffects": false, "typings": "typings/index.d.ts", "scripts": { "build": "npm run build:web --silent && npm run build:native --silent",