Skip to content

Commit

Permalink
bin/importmap unpin @rails/ujs
Browse files Browse the repository at this point in the history
  • Loading branch information
otegami committed Jul 29, 2024
1 parent 67f8a22 commit b6ca351
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions app/javascript/application.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
// Configure your import map in config/importmap.rb. Read more: https://github.com/rails/importmap-rails
import Rails from "@rails/ujs"
import "channels"

Rails.start()
1 change: 0 additions & 1 deletion config/importmap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@

pin "application"
pin "@rails/actioncable", to: "actioncable.esm.js"
pin "@rails/ujs", to: "@rails--ujs.js" # @7.0.8

pin_all_from "app/javascript/channels", under: "channels"
Empty file added vendor/javascript/.keep
Empty file.
2 changes: 0 additions & 2 deletions vendor/javascript/@rails--ujs.js

This file was deleted.

0 comments on commit b6ca351

Please sign in to comment.