File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
symfony/webpack-encore-bundle/1.0 Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { startStimulusApp } from '@symfony/stimulus-bridge' ;
2
- import '@symfony/autoimport' ;
3
2
4
3
// Registers Stimulus controllers from controllers.json and in the controllers/ directory
5
- export const app = startStimulusApp ( require . context ( './controllers' , true , / \. ( j | t ) s x ? $ / ) ) ;
4
+ export const app = startStimulusApp ( require . context (
5
+ '@symfony/stimulus-bridge/lazy-controller-loader!./controllers' ,
6
+ true ,
7
+ / \. ( j | t ) s x ? $ /
8
+ ) ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"devDependencies" : {
3
- "@symfony/stimulus-bridge" : " ^1.1 .0" ,
3
+ "@symfony/stimulus-bridge" : " ^2.0 .0" ,
4
4
"@symfony/webpack-encore" : " ^1.0.0" ,
5
5
"core-js" : " ^3.0.0" ,
6
6
"regenerator-runtime" : " ^0.13.2" ,
You can’t perform that action at this time.
0 commit comments