Upgrade to Rails 7, new JS build setup
This commit is contained in:
7
config/importmap.rb
Normal file
7
config/importmap.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
# 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"
|
||||
@@ -26,7 +26,7 @@ authorizations: &AUTHORIZATIONS
|
||||
## Environment
|
||||
|
||||
development:
|
||||
host: 192.168.33.10
|
||||
host: 192.168.56.5
|
||||
port: 389
|
||||
attribute: cn
|
||||
base: ou=kosmos.org,cn=users,dc=kosmos,dc=org
|
||||
|
||||
Reference in New Issue
Block a user