I have a problem when changing from JS Bundling to ImportMap in Rails 7.2 . I deleted the gem jsbundling-rails
and add importmap-rails
in my Gemfile, then run rails importmap:install
After that, I ran rails assets:clobber
and then rails assets:precompile
, but the path public/assets
did not generate any files and the precompile
command keep running yarn install
, although I expect not using Yarn here
I tried a new Rails 7 project and saw the rails assets:precompile
worked without yarn install
Tried to remove Gemfile.lock
and run bundle, but not worked