10 lines
376 B
Ruby
10 lines
376 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
# Pin npm packages by running ./bin/importmap
|
||
|
|
||
|
pin 'application', preload: true
|
||
|
pin '@hotwired/turbo-rails', to: 'turbo.min.js', preload: true
|
||
|
pin '@hotwired/stimulus', to: 'stimulus.min.js', preload: true
|
||
|
pin '@hotwired/stimulus-loading', to: 'stimulus-loading.js', preload: true
|
||
|
pin_all_from 'app/javascript/controllers', under: 'controllers'
|