mirror of
https://github.com/symfony/recipes.git
synced 2026-09-17 18:16:34 +03:00
Merge pull request #883
This commit is contained in:
+5
-2
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user