Use webpack/esbuild/bun/rollup to manage JavaScript in your Rails app.
Add this line to your application's Gemfile:
gem 'railpack'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install railpack
NOT READY YET, FEEL FREE TO CONTRIBUTE. 👍
Bug reports and pull requests are welcome on GitHub at https://github.com/21tycoons/railpack.
The gem is available as open source under the terms of the MIT License.