Shipping Webpacker v6 -- Status

Update on rails/webpacker v6

I am working with @guillaumebriday and @dhh on a v6 release of rails/webpacker. I’m hopeful that we can ship a v6 soon! v6 features integration with webpack v5 and more.

I’ve been working on Rails and Webpack integration since my 2014 writeup Fast Rich Client Rails Development With Webpack and the ES6 Transpiler. After that, I developed the gem React on Rails which is still under very active development.

Many Rails projects using my gem React on Rails depend on rails/webpacker.

So far, I’ve done the following:

  1. Triaged all issues and PRs.
  2. Labelled all issues and PRs, so it’s easy to see any issues or PRs requiring review.
  3. Marked issues and PRs for the v6 release.
  4. Proactively closed issues that were not bugs or improvements, inviting submitters to argue for reopening.

Regarding the long-term future of rails/webpacker, here’s a good discussion.

To quote @DHH:

Webpacker v6 is a great option for those who want to continue on that track. But it will no longer be bundled with Rails 7. The path we’re going with by default going forward is import maps (no Node required at all) and then jsbundling-rails as the step from there. But you don’t need anyone’s permission to continue to use Webpacker if you fancy. The gem will still be there, and v6 is a much slimmer fit than v5 was.

I’m super excited to ship v6!

Questions for the Community:

  1. What can I do better as a moderator on rails/webpacker? Do we have guidelines for moderators of rails projects?

  2. Who cares about the next version of rails/webpacker, and what else would you like to see?

  3. What can I do to accelerate the release process? The uncertainty of the final details of rails/webpacker affects many projects.

3 Likes

I am most excited about the fact that webpacker v6 is much slimmer. To be fair, that is really the only major change I am familiar with, but it is one worth getting excited about!

Webpacker 6 has gone through 6 very long RC releases not including the mess that was the beta/pre releases. The bandaid really needs to be ripped off at some point.

1 Like

I’ve evaluated all the current methods to bundle JS and for some projects webpacker will still be my gem of choice moving forward. Looking forward to v6. Thanks.