Skip to content

Commit ca2274f

Browse files
Merge pull request #581 from Shopify/rd/fix-polyfill-side-effect
fix missing side effect declaration
2 parents f474f84 + d4fd36d commit ca2274f

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.changeset/brave-spies-bathe.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@remote-dom/core': patch
3+
---
4+
5+
Fix missing side effect declaration

packages/core/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@
8181
}
8282
},
8383
"sideEffects": [
84-
"./source/polyfill/polyfill.ts",
85-
"./build/cjs/polyfill.cjs",
86-
"./build/esm/polyfill.mjs",
87-
"./build/esnext/polyfill.esnext"
84+
"./source/polyfill/**/*.ts",
85+
"./build/cjs/polyfill/**/*.cjs",
86+
"./build/esm/polyfill/**/*.mjs",
87+
"./build/esnext/polyfill/**/*.esnext"
8888
],
8989
"scripts": {
9090
"build": "rollup --config ./rollup.config.js"

0 commit comments

Comments
 (0)