We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 955f7d6 commit 795e570Copy full SHA for 795e570
app/javascript/application.js
@@ -88,3 +88,7 @@ window.ace = ace; // Publish ace in global namespace
88
// Turbo
89
import '@hotwired/turbo-rails';
90
import './turbo-migration';
91
+
92
+// Import of Rails sprocket assets with minimal changes. After the initial migration these files should
93
+// be moved to an appropriate place after some adjustments to fit modern Rails JS.
94
+import 'sprocket_asset_import'
lib/assets/javascripts/color_mode_picker.js renamed to app/javascript/sprocket_asset_import/color_mode_picker.js
lib/assets/javascripts/flash.js renamed to app/javascript/sprocket_asset_import/flash.js
app/javascript/sprocket_asset_import/index.js
@@ -0,0 +1,4 @@
1
+import './flash'
2
+import './color_mode_picker'
3
4
+import './request_for_comments'
app/assets/javascripts/request_for_comments.js renamed to app/javascript/sprocket_asset_import/request_for_comments.js
0 commit comments