diff --git a/symfony/webpack-encore-bundle/1.0/assets/bootstrap.js b/symfony/webpack-encore-bundle/1.0/assets/bootstrap.js index 58308a6b..4ab2df64 100644 --- a/symfony/webpack-encore-bundle/1.0/assets/bootstrap.js +++ b/symfony/webpack-encore-bundle/1.0/assets/bootstrap.js @@ -4,7 +4,7 @@ import { startStimulusApp } from '@symfony/stimulus-bridge'; export const app = startStimulusApp(require.context( '@symfony/stimulus-bridge/lazy-controller-loader!./controllers', true, - /\.(j|t)sx?$/ + /\.[jt]sx?$/ )); // register any custom, 3rd party controllers here diff --git a/symfony/webpack-encore-bundle/1.6/assets/bootstrap.js b/symfony/webpack-encore-bundle/1.6/assets/bootstrap.js index 58308a6b..4ab2df64 100644 --- a/symfony/webpack-encore-bundle/1.6/assets/bootstrap.js +++ b/symfony/webpack-encore-bundle/1.6/assets/bootstrap.js @@ -4,7 +4,7 @@ import { startStimulusApp } from '@symfony/stimulus-bridge'; export const app = startStimulusApp(require.context( '@symfony/stimulus-bridge/lazy-controller-loader!./controllers', true, - /\.(j|t)sx?$/ + /\.[jt]sx?$/ )); // register any custom, 3rd party controllers here diff --git a/symfony/webpack-encore-bundle/1.9/assets/bootstrap.js b/symfony/webpack-encore-bundle/1.9/assets/bootstrap.js index 58308a6b..4ab2df64 100644 --- a/symfony/webpack-encore-bundle/1.9/assets/bootstrap.js +++ b/symfony/webpack-encore-bundle/1.9/assets/bootstrap.js @@ -4,7 +4,7 @@ import { startStimulusApp } from '@symfony/stimulus-bridge'; export const app = startStimulusApp(require.context( '@symfony/stimulus-bridge/lazy-controller-loader!./controllers', true, - /\.(j|t)sx?$/ + /\.[jt]sx?$/ )); // register any custom, 3rd party controllers here