Skip to content

Commit

Permalink
Improve tree shaking by adding sideEffects false (fix #241)
Browse files Browse the repository at this point in the history
  • Loading branch information
eXon committed Dec 27, 2019
1 parent 5939056 commit cdb3bad
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-cookie/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Universal cookies for React",
"main": "cjs/index.js",
"module": "es6/index.js",
"sideEffects": false,
"files": [
"es6",
"cjs",
Expand Down
1 change: 1 addition & 0 deletions packages/universal-cookie-express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Hook cookies get/set on Express for server-rendering",
"main": "cjs/index.js",
"module": "es6/index.js",
"sideEffects": false,
"files": [
"lib",
"es6",
Expand Down
1 change: 1 addition & 0 deletions packages/universal-cookie-koa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Hook cookies get/set on Koa for server-rendering",
"main": "cjs/index.js",
"module": "es6/index.js",
"sideEffects": false,
"files": [
"lib",
"es6",
Expand Down
1 change: 1 addition & 0 deletions packages/universal-cookie/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Universal cookies for JavaScript",
"main": "cjs/index.js",
"module": "es6/index.js",
"sideEffects": false,
"files": [
"lib",
"es6",
Expand Down

0 comments on commit cdb3bad

Please sign in to comment.