News for hackers. Stuff that matters.
Re:Rolldown: Rollup compatible bundler written in Rust by rk06 on Saturday March 09, 2024 @04:07AM (#39650467)
Even if their dependencies were esm only, Vote may be used in projects which have cjs dependencies. Hence need to support it
Re:Rolldown: Rollup compatible bundler written in Rust by WorldMaker on Saturday March 09, 2024 @11:15PM (#39656671)
esbuild handles CJS dependencies just fine and had been what Vite was using in development for a long time anyway. It doesn't split CJS dependencies or tree-shake them as automatically/smartly as it could, but it still supports splitting them and there are manual workarounds.

I think the bigger problem, from my experience here, is still the question of not moving to ESM as the default production output. That seems out of date.