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 a72e657 commit f4d9ecbCopy full SHA for f4d9ecb
app/javascript/controllers/index.js
@@ -1,5 +1,6 @@
1
import { application } from './application'
2
import { registerControllers } from 'stimulus-vite-helpers'
3
4
-const controllers = import.meta.globEager('./**/*_controller.js')
+const controllers = import.meta.glob('./**/*_controller.js', { eager: true })
5
+
6
registerControllers(application, controllers)
0 commit comments