Skip to content

Commit

Permalink
Declare package side effect free (#1935)
Browse files Browse the repository at this point in the history
This sets the package.json field sideEffects to false. This allows for better tree shaking by downstream consumers, see https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free for more information.

I skimmed over all included files and I did not see anything that would count following webpack's definition of tree shaking.
  • Loading branch information
maclockard authored and martijnrusschen committed Oct 16, 2019
1 parent f9d495c commit 0c06dbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"es",
"src/stylesheets"
],
"sideEffects": false,
"keywords": [
"react",
"datepicker",
Expand Down

0 comments on commit 0c06dbe

Please sign in to comment.