I’m kinda of new to rollup, and been having several issues with it over the last couple of weeks. I’m currently using rollup to build Lit components to production. And for some unknown reason, when it generates a file which contains, what I believe is the reactive state for every component – query-assigned-elements-78bcb1b1.js. Every component that has reactive state then
Tag: rollupjs
In Rollup config, how does one use moduleSideEffects to import side effect files AND their dependencies?
Many things are being included in my bundles that I do not want because they are being considered as side-effectful when they are not. Promise calls and the like. So I am experimenting with setting moduleSideEffects to a function* that marks only those files that really have side effects as side-effectful. However, I’m running into a problem: Rollup will not