Merge pull request #883

This commit is contained in:
symfony-flex-server[bot]
2021-02-03 11:55:37 +00:00
committed by GitHub
2 changed files with 6 additions and 3 deletions
+5 -2
View File
@@ -1,5 +1,8 @@
import { startStimulusApp } from '@symfony/stimulus-bridge';
import '@symfony/autoimport';
// Registers Stimulus controllers from controllers.json and in the controllers/ directory
export const app = startStimulusApp(require.context('./controllers', true, /\.(j|t)sx?$/));
export const app = startStimulusApp(require.context(
'@symfony/stimulus-bridge/lazy-controller-loader!./controllers',
true,
/\.(j|t)sx?$/
));
@@ -1,6 +1,6 @@
{
"devDependencies": {
"@symfony/stimulus-bridge": "^1.1.0",
"@symfony/stimulus-bridge": "^2.0.0",
"@symfony/webpack-encore": "^1.0.0",
"core-js": "^3.0.0",
"regenerator-runtime": "^0.13.2",