Skip to content

Commit

Permalink
fix: set sideEffects to false (#286)
Browse files Browse the repository at this point in the history
Allows bundlers to tree-shake out the temporal polyfill when imported but not used.
  • Loading branch information
federicocarboni committed Jun 20, 2024
1 parent 8fd0dea commit 6e764e6
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 @@ -22,6 +22,7 @@
"./dist/index.cjs"
]
},
"sideEffects": false,
"types": "./index.d.ts",
"scripts": {
"test": "npm run build && node --no-warnings --experimental-modules --experimental-specifier-resolution=node --icu-data-dir node_modules/full-icu --loader ./test/resolve.source.mjs ./test/all.mjs",
Expand Down

0 comments on commit 6e764e6

Please sign in to comment.