现在是 2026 年。Webpack 6.x 还会发布吗?
3 分•作者: narukeu•6 个月前
过去几年,像 Vite 和 Next.js(基于 Turbopack)这样的工具显然已成为新项目选择技术栈时的“默认选择”。根据我的观察,如今团队在新项目中优先选择 Webpack 作为打包器的例子似乎非常罕见。
然而,从另一个角度来看,Webpack 在 GitHub 上的开发仍然相对活跃,并且尚未正式进入“维护模式”。最近 Babel 8 Beta 版本的发布也提醒我,这些在 JS 生态系统中久经考验的基础设施工具仍然具备自我更新和寻求突破的能力。
我很想听听您的想法:
1. 您认为 Webpack 真的会发布 6.x 版本吗?还是他们会长期在 5.x 版本上持续演进?
2. 如果他们真的发布了,您预计会有哪些重大变化?他们会把 Rust 引入核心吗?
3. 6.x 版本的发布是否有可能让 Webpack 重新成为新项目的“首选”?
查看原文
Over the last couple of years, tools like Vite and Next.js(Turbopack based) have clearly taken the lead as the "default choice" when selecting tech stacks for new projects. From my own observation, it seems very rare for teams to prioritize Webpack as the bundler for a greenfield project nowadays.<p>However, looking at it from another angle, Webpack still maintains relatively active development on GitHub and hasn't officially entered "maintenance mode." The recent release of Babel 8 Beta also reminded me that these veteran infrastructure tools in the JS ecosystem are still capable of self-renewal and seeking breakthroughs.<p>I'd love to hear your thoughts:<p>1. Do you think Webpack will actually release a version 6.x? Or will they just continue evolving on 5.x for the long haul?<p>2. If they do release it, what major changes do you expect? Will they introduce Rust into the core?<p>3. Could the release of a 6.x version potentially restore Webpack as the "first choice" for new projects?