Hacker News new | ask | show | jobs
by joepie91_ 1692 days ago
Hi, author here. I'm going to ignore the personal attacks and simply point out that my dev build processes typically have a startup time of under 5 seconds even for large projects, and a rebuild time of under 500ms. This is with Browserify.

If you are having very slow build times with your existing toolchain, the problem isn't the bundling, which is an extremely fast operation. It's almost certainly going to be one specific computationally-intensive plugin that you either don't need, or would also need if using ESM.

1 comments

"Wie man in den Wald hinein ruft, so schallt es heraus" since your from NL it should be easy to translate.

These heavy plugins are usually for old browsers to also run in them. That is the only job ob babel.

CJS has some deeper problems. - Check if your fav CJS lib freezes the objects? - ESM is more http friendly (mime type)

The build times I listed are including a Babel plugin.