Skip to content

Commit 2676bd3

Browse files
committed
Fix changes to Stimulus bundle recipe
Signed-off-by: Tim Goudriaan <tim@codedmonkey.com>
1 parent 261d493 commit 2676bd3

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

assets/dashboard.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
* (and its CSS file) in your base layout (base.html.twig).
66
*/
77

8-
import './bootstrap';
8+
import './stimulus_bootstrap.ts';
99

1010
import './stylesheets/dashboard-theme.css';

assets/stimulus_bootstrap.js

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ import { startStimulusApp } from '@symfony/stimulus-bridge';
22

33
// Registers Stimulus controllers from controllers.json and in the controllers/ directory
44
export const app = startStimulusApp(require.context(
5-
'@symfony/stimulus-bridge/lazy-controller-loader!./controllers',
6-
true,
7-
/\.[jt]sx?$/
5+
'@symfony/stimulus-bridge/lazy-controller-loader!./controllers',
6+
true,
7+
/\.[jt]sx?$/
88
));
9-
// register any custom, 3rd party controllers here
9+
10+
// Register any custom, 3rd party controllers here
1011
// app.register('some_controller_name', SomeImportedController);

0 commit comments

Comments
 (0)