If you're using webpacker currently, then I would still go that route. If you're just starting out a new application, I would probably go the esbuild route from jsbundling-rails. This is going to be one of the more supported options in the long term.