-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce importmap-rails for JavaScript dependency management #3399
Comments
To take advantage of importmap-rails we need to upgrade our dependencies to the ESM-compatible version, which is not the case for many of our current dependencies. Since importmap-rails-based apps can work perfectly with current asset-pipeline-based RailsAdmin, I decided not to do this for now. But we want to explore a better way to manage our asset dependency. Current practice of vendorizing dependencies is bad and makes dependency upgrade painful. We will be able to consider introducing importmap-rails again when JavaScript dependencies are upgraded in the future. |
Hello, is there any news about this? I am using Rails 7 and propshaft instead of sprockets as my asset pipeline and I get an error on installation because sprockets is required. Thanks! |
I realized that this is possible now, after upgrading Bootstrap to 5 we now have no ESM-incompatible dependencies. |
Is there a corrected rails_admin:install command to work with importmap? |
It will be the default way from Rails 7.
https://world.hey.com/dhh/rails-7-will-have-three-great-answers-to-javascript-in-2021-8d68191b
The text was updated successfully, but these errors were encountered: