Skip to content

Commit 81c9fbc

Browse files
committed
Set propertyReadSideEffects which is now not false by default
1 parent 4090c9d commit 81c9fbc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/rollup/build.js

+1
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,7 @@ async function createBundle(bundle, bundleType) {
571571
treeshake: {
572572
moduleSideEffects: (id, external) =>
573573
!(external && pureExternalModules.includes(id)),
574+
propertyReadSideEffects: false,
574575
},
575576
external(id) {
576577
const containsThisModule = pkg => id === pkg || id.startsWith(pkg + '/');

0 commit comments

Comments
 (0)