Skip to content

Commit 0c06dbe

Browse files
maclockardmartijnrusschen
authored andcommitted
Declare package side effect free (Hacker0x01#1935)
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.
1 parent f9d495c commit 0c06dbe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"es",
1818
"src/stylesheets"
1919
],
20+
"sideEffects": false,
2021
"keywords": [
2122
"react",
2223
"datepicker",

0 commit comments

Comments
 (0)