Skip to content

Commit

Permalink
fix(package.json): specify sideEffects false (#68)
Browse files Browse the repository at this point in the history
This package doesn't have any side effects and thus can specify
`sideEffects: false` in its `package.json` file to tell code bundlers to
exclude it from the client-side bundle when it is found in, for example,
[Remix routes](https://remix.run/docs/en/v1/pages/gotchas#server-code-in-client-bundles)
  • Loading branch information
nicholaschiang committed Mar 16, 2022
1 parent a194f7d commit 3dc68bf
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 @@ -45,6 +45,7 @@
"type": "git",
"url": "https://github.com/mdevils/html-entities.git"
},
"sideEffects": false,
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"types": "./lib/index.d.ts",
Expand Down

0 comments on commit 3dc68bf

Please sign in to comment.