Skip to content

Commit

Permalink
chore: add sideEffects false to package.json (#5025)
Browse files Browse the repository at this point in the history
* chore: add sideEffects false to package.json

This flag within the package.json file allows marking that a package does not make use of side effects, as documented here: https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free

* Fixed a typo and removed EOL

There was no EOL in the original, so removing it to minimise diff

* Update package.json

Co-authored-by: Jay <jasonsaayman@gmail.com>
  • Loading branch information
me4502 and jasonsaayman committed Oct 30, 2022
1 parent 0c3a1e9 commit ae31394
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -132,5 +132,6 @@
"Yasu Flores (https://github.com/yasuf)",
"Ben Carp (https://github.com/carpben)",
"Daniel Lopretto (https://github.com/timemachine3030)"
]
],
"sideEffects": false
}

0 comments on commit ae31394

Please sign in to comment.