Setting moduleSideEffects: false
removes side effectful getter inside a exported function since 4.9.2
#5408
Labels
moduleSideEffects: false
removes side effectful getter inside a exported function since 4.9.2
#5408
Rollup Version
4.12.0 (since 4.9.2)
Operating System (or Browser)
StackBlitz
Node Version (if applicable)
No response
Link To Reproduction
https://stackblitz.com/edit/rollup-repro-3brsqu?file=src%2FsupportsPassive.js,dist%2Fmain.js
Expected Behaviour
supportsPassive
is not removed.Actual Behaviour
supportsPassive
is removed;Additional Information
This happens with 4.9.2 and doesn't happen with 4.9.1. I guess #5322 is related.
Original issue: vitejs/vite#16065
The text was updated successfully, but these errors were encountered: