Skip to content

Commit

Permalink
Mark React polyfill as having side effects
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonmade committed Feb 17, 2024
1 parent 8dd9107 commit 7398741
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/rich-dryers-juggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@remote-dom/react": patch
---

Mark React polyfill as having side effects
6 changes: 5 additions & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@
]
}
},
"sideEffects": false,
"sideEffects": [
"./source/polyfill.ts",
"./build/esnext/polyfill.esnext",
"./build/esm/polyfill.mjs"
],
"scripts": {
"build": "rollup --config rollup.config.js"
},
Expand Down

0 comments on commit 7398741

Please sign in to comment.