Skip to content

Commit f7ee6c3

Browse files
author
symfony-flex-server[bot]
authored
Merge pull request #883
2 parents ed7cab9 + 774274d commit f7ee6c3

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import { startStimulusApp } from '@symfony/stimulus-bridge';
2-
import '@symfony/autoimport';
32

43
// Registers Stimulus controllers from controllers.json and in the controllers/ directory
5-
export const app = startStimulusApp(require.context('./controllers', true, /\.(j|t)sx?$/));
4+
export const app = startStimulusApp(require.context(
5+
'@symfony/stimulus-bridge/lazy-controller-loader!./controllers',
6+
true,
7+
/\.(j|t)sx?$/
8+
));

symfony/webpack-encore-bundle/1.0/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"devDependencies": {
3-
"@symfony/stimulus-bridge": "^1.1.0",
3+
"@symfony/stimulus-bridge": "^2.0.0",
44
"@symfony/webpack-encore": "^1.0.0",
55
"core-js": "^3.0.0",
66
"regenerator-runtime": "^0.13.2",

0 commit comments

Comments
 (0)