SolidJSS
SolidJS2y ago
38 replies
aryzing

Side effect in bundled code `ie(["click", "keydown"]);`

I'm trying to import types from a lib I'm building that contains a Solid.js component. However, when building using a vanilla Vite + Solid setup, the lib's build output has a top-level call to ie(["click", "keydown"]); . In turn, this call is added to the output build of the second package. Where is this coming from? Can Solid.js be fixed to not produce these top level function calls?
Was this page helpful?