Skip to content

Commit

Permalink
update glob
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienpoly committed Feb 4, 2024
1 parent 99e2687 commit 1b7fc32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/controllers/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { application } from './application'
import { registerControllers } from 'stimulus-vite-helpers'

const controllers = import.meta.globEager('./**/*_controller.js')
const controllers = import.meta.glob('../**/*_controller.js', { eager: true })
registerControllers(application, controllers)

0 comments on commit 1b7fc32

Please sign in to comment.