FIX: Add popper sourcemap

FIX: Add popper sourcemap

diff --git a/lib/tasks/javascript.rake b/lib/tasks/javascript.rake
index 280e245..f00daf9 100644
--- a/lib/tasks/javascript.rake
+++ b/lib/tasks/javascript.rake
@@ -1,7 +1,11 @@
 # frozen_string_literal: true
 
+def public_root
+  "#{Rails.root}/public"
+end
+
 def public_js
-  "#{Rails.root}/public/javascripts"
+  "#{public_root}/javascripts"
 end
 
 def vendor_js
@@ -153,6 +157,9 @@ task 'javascript:update' do
       public: true
     }, {
       source: '@popperjs/core/dist/umd/popper.js'
+    }, {
+      source: '@popperjs/core/dist/umd/popper.js.map',
+      public_root: true
     }
   ]
 
@@ -189,7 +196,9 @@ task 'javascript:update' do
       system("rm -rf node_modules/ace-builds/src-min-noconflict/snippets")
     end
 
-    if f[:public]
+    if f[:public_root]
+      dest = "#{public_root}/#{filename}"
+    elsif f[:public]
       dest = "#{public_js}/#{filename}"
     else
       dest = "#{vendor_js}/#{filename}"
diff --git a/public/popper.js.map b/public/popper.js.map
new file mode 100644
index 0000000..85eb4e6
--- /dev/null
+++ b/public/popper.js.map
@@ -0,0 +1 @@

[... diff too long, it was truncated ...]

GitHub sha: e8bf304f