config/importmap.rb in panda_cms-0.2.2 vs config/importmap.rb in panda_cms-0.2.3
- old
+ new
@@ -1,7 +1,9 @@
pin "@hotwired/stimulus", to: "https://ga.jspm.io/npm:stimulus@3.2.2/dist/stimulus.js"
-# TODO: Pin to a URL on our CDN
-pin "@hotwired/stimulus-loading", to: "/panda-cms-assets/stimulus-loading.js" # 3.2.2
+pin "@hotwired/stimulus-loading", to: "/panda-cms-assets/javascripts/vendor/stimulus-loading.js" # 3.2.2
-pin_all_from PandaCms::Engine.root.join("app/javascript/panda_cms/vendor"), under: "vendor", to: "panda_cms/vendor"
-pin_all_from PandaCms::Engine.root.join("app/javascript/panda_cms"), under: "panda_cms", to: "panda_cms"
-pin_all_from PandaCms::Engine.root.join("app/javascript/panda_cms/controllers"), under: "panda_cms/controllers", to: "panda_cms/controllers"
+pin "panda_cms/vendor/stimulus-components-rails-nested-form", to: "/panda-cms-assets/javascripts/vendor/stimulus-components-rails-nested-form.js", preload: false
+pin "panda_cms/vendor/tailwindcss-stimulus-components", to: "/panda-cms-assets/javascripts/vendor/tailwindcss-stimulus-components.js", preload: false
+pin "panda_cms/controllers/menu_controller", to: "/panda-cms-assets/javascripts/controllers/menu_controller.js", preload: false
+pin "panda_cms/controllers/rich_text_editor_controller", to: "/panda-cms-assets/javascripts/controllers/rich_text_editor_controller.js", preload: false
+pin "panda_cms/controllers/text_field_update_controller", to: "/panda-cms-assets/javascripts/controllers/text_field_update_controller.js", preload: false
+pin "panda_cms/base", to: "/panda-cms-assets/javascripts/base.js", preload: false