I just created a brand new Ruby on Rails 8.0.1 app with Propshaft included. I got the SCSS part working but I can't seem to get the JavaScript part working.
Unlike with most other apps, I have only a bunch of static JS files that I want to combine into one big file, e.g. application.js
. I don't need modules nor do I need Importmaps.
When using Sprockets in my previous app, I could simple put this into my application.js
file:
//= require_tree .
And it would combine all my 50 JS files into one big file.
How can something similar be achieved with Propshaft?
jsbundling-rails
. withimportmap-rails
there is no bundling, every file is separate.