Updated symfony/stimulus-bridge recipe

This commit is contained in:
Jan Böhmer 2023-06-11 19:58:31 +02:00
parent 52c8ea13af
commit 7658cfcdbd
3 changed files with 12 additions and 5 deletions

3
assets/bootstrap.js vendored
View file

@ -4,8 +4,7 @@ import { startStimulusApp } from '@symfony/stimulus-bridge';
export const app = startStimulusApp(require.context(
'@symfony/stimulus-bridge/lazy-controller-loader!./controllers',
true,
/\.(j|t)sx?$/
/\.[jt]sx?$/
));
// register any custom, 3rd party controllers here
// app.register('some_controller_name', SomeImportedController);