Add sideEffects false to package.json

To make tree-shakeable by webpack
This commit is contained in:
Nate Wienert 2019-05-29 17:02:51 -07:00 committed by GitHub
parent 01f676bacc
commit 27e840349d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,7 @@
"description": "Collection of React Hooks",
"main": "lib/index.js",
"module": "esm/index.js",
"sideEffects" false,
"files": [
"lib/",
"esm/"