Skip to content

Commit 3dc68bf

Browse files
fix(package.json): specify sideEffects false (#68)
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)
1 parent a194f7d commit 3dc68bf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"type": "git",
4646
"url": "https://github.com/mdevils/html-entities.git"
4747
},
48+
"sideEffects": false,
4849
"main": "./lib/index.js",
4950
"typings": "./lib/index.d.ts",
5051
"types": "./lib/index.d.ts",

0 commit comments

Comments
 (0)