Patch Changes #2474 Thanks @annaghi! - Use CommonJS files as package.json#main (instead of UMD files) as this plays better with native ESM loader in node (and by extension fixes compatibility issues with projects like SvelteKit).