lib/install/turbo_with_importmap.rb in turbo-rails-0.8.3 vs lib/install/turbo_with_importmap.rb in turbo-rails-0.9.0
- old
+ new
@@ -1,5 +1,5 @@
say "Import Turbo"
append_to_file "app/javascript/application.js", %(import "@hotwired/turbo-rails"\n)
say "Pin Turbo"
-append_to_file "config/importmap.rb", %(pin "@hotwired/turbo-rails", to: "turbo.js", preload: true\n)
+append_to_file "config/importmap.rb", %(pin "@hotwired/turbo-rails", to: "turbo.min.js", preload: true\n)