summaryrefslogtreecommitdiffstats
path: root/config/importmap.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/importmap.rb')
-rw-r--r--config/importmap.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/importmap.rb b/config/importmap.rb
new file mode 100644
index 000000000..3560330c1
--- /dev/null
+++ b/config/importmap.rb
@@ -0,0 +1,9 @@
+# frozen_string_literal: true
+
+# Pin npm packages by running ./bin/importmap
+
+pin "application"
+pin "@hotwired/stimulus", to: "stimulus.min.js"
+pin "@hotwired/stimulus-loading", to: "stimulus-loading.js"
+pin "turndown" # @7.2.0
+pin_all_from "app/javascript/controllers", under: "controllers"