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 721f80e commit 95f91baCopy full SHA for 95f91ba
app/javascript/application.js
@@ -91,4 +91,4 @@ 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';
+require('sprocket-asset-import');
app/javascript/sprocket-asset-import/index.js
@@ -1,4 +1,4 @@
1
-import './flash';
2
-import './color-mode-picker';
+require('./flash');
+require('./color-mode-picker');
3
4
-import './request-for-comments';
+require('./request-for-comments');
0 commit comments