If you use an older version of Rails UI or have the cssbundling-rails gem configured, you can move to the new version with the built-in migration task.
If your existing app uses importmap and you want to switch to a JS bundler for Rails UI:
You'll need to manually migrate your existing JavaScript imports from importmap format to bundler format. Rails UI will handle its own imports, but your app's custom JavaScript may need adjustments. Consider removing config/importmap.rb if you're fully migrating to the bundler.