Live data from Hacker News

Webpack 5

webpack.js.org

181–182 of 182 posts

Re: Webpack 5

#181
post #49

Earlier quoted context omitted.

Up to a point, eventually when the code base is large enough you spend more time serialising/deserialising and passing things between workers that it can be faster to disable the cache.

Are you saying that from experience with webpack 5, or is that a prediction?

From experience with one of the later betas (around 22 or 23?) we saw no improvement or slight regression with the disk cache vs the memory cache for incremental builds. Initial builds (warm starts) were faster, but there was still significant overhead reading the cache - this is an area where any optimisation would yield big results. I haven't had the chance to try the released version yet, but my understanding is there weren't any significant changes in this area.

Re: Webpack 5

#182

Earlier quoted context omitted.

> It’s basically already better than any of the existing JS JS bundlers This statement assumes that there's basic feature parity between ESBuild and tools like webpack, which is straight up false.

And that assumes that more features is necessarily better, which is also false.

I think it's more a misunderstanding of the domain. Bundlers are not all about speed.
Post reply on HN