How to bundle assets in a Rails engine
03-Feb-2023 731
During Rails' lifetime, we had a lot of ways to load, parse, and process assets. The "recommended" way is to hook into the asset pipeline (whichever that is) and, on deployment, let the assets:precompile task to take over and... compile them so they can be used in your app.But, if you built an engine that you want to distribute to others, there might be a few things that might get in the way.
How to bundle assets in a Rails engine #ruby #rubydeveloper #rubyonrails #bundle #assets #Rails #engine #assets #engine https://rubyonrails.ba/link/how-to-bundle-assets-in-a-rails-engine