Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Webpack is a "legacy" bundler

How did you end up with this assessment? I'm not a fan either, but it's still very popular, I doubt it will go away in the next 5 years.



It won't go away, it will still be supported and used for many years, but majority of new projects today won't use it. Brief history: Rollup dramatically improved bundler plugin and ES modules situation, then came new super fast bundlers like Esbuild and finally solutions combining both like Vite. Webpack is still playing catch up with that. There is literally zero reasons to choose clunky, slow Webpack configs, while alternatives exist, unless you have a legacy codebase and migrating is not an option.


> literally zero reasons

What about module federation? Has any other bundler implemented that?


It's a relatively minor feature used by relatively few people.


Do you know any success stories with that?


I haven't heard any, but I haven't gone looking either. I'm just saying there's at least literally one reason to use webpack for new code.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: