You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I'm so glad to see great progress on assets management in Rails, especially in Rails 7. I noticed that sprockets are no longer a required dependency, and webpacker is deprecated, so I decided to migrate to the latest assets management with jsbundling-rails, cssbundling-rails, esbuild, and tailwind.
But it was a surprise for me that sprockets is still required for the latest assets management. rails new comes with sprockets installed, and the latest released version of this gem expects the assets:precompile rake task to be defined.
As far as I understand the goal is to replace complicated and old sprockets with foreign tools, such as esbuild and tailwind, so that's why I created this issue to track the progress.
I'm sorry if I get something wrong, and these gems still expect sprockets to be installed
Thank you
The text was updated successfully, but these errors were encountered:
Hello. I'm so glad to see great progress on assets management in Rails, especially in Rails 7. I noticed that sprockets are no longer a required dependency, and webpacker is deprecated, so I decided to migrate to the latest assets management with jsbundling-rails, cssbundling-rails, esbuild, and tailwind.
But it was a surprise for me that sprockets is still required for the latest assets management.
rails new
comes withsprockets
installed, and the latest released version of this gem expects theassets:precompile
rake task to be defined.The biggest problem is that
does not work without sprockets. It renders just elements as is:
that leads to 404 responses for the Rails.
As far as I understand the goal is to replace complicated and old sprockets with foreign tools, such as
esbuild
andtailwind
, so that's why I created this issue to track the progress.I'm sorry if I get something wrong, and these gems still expect
sprockets
to be installedThank you
The text was updated successfully, but these errors were encountered: