File tree Expand file tree Collapse file tree 3 files changed +3
-38
lines changed
Expand file tree Collapse file tree 3 files changed +3
-38
lines changed Original file line number Diff line number Diff line change @@ -130,9 +130,6 @@ class WebpackConfig {
130130 resolveUrlLoader : true ,
131131 resolveUrlLoaderOptions : { }
132132 } ;
133- this . stimulusOptions = {
134- controllerJsonPath : null ,
135- } ;
136133 this . preactOptions = {
137134 preactCompat : false
138135 } ;
@@ -682,7 +679,9 @@ class WebpackConfig {
682679 this . addEntry ( name , rootDir + '/' + controllersData . entrypoints [ name ] ) ;
683680 }
684681
685- this . stimulusOptions . controllersJsonPath = controllerJsonPath ;
682+ this . addAliases ( {
683+ '@symfony/stimulus-bridge/controllers.json' : path . resolve ( controllerJsonPath ) ,
684+ } ) ;
686685 }
687686
688687 enableReactPreset ( ) {
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ const friendlyErrorPluginUtil = require('./plugins/friendly-errors');
3838const assetOutputDisplay = require ( './plugins/asset-output-display' ) ;
3939const notifierPluginUtil = require ( './plugins/notifier' ) ;
4040const PluginPriorities = require ( './plugins/plugin-priorities' ) ;
41- const stimulusBridge = require ( './plugins/stimulus-bridge' ) ;
4241const applyOptionsCallback = require ( './utils/apply-options-callback' ) ;
4342const copyEntryTmpName = require ( './utils/copyEntryTmpName' ) ;
4443const getVueVersion = require ( './utils/get-vue-version' ) ;
@@ -422,8 +421,6 @@ class ConfigGenerator {
422421
423422 variableProviderPluginUtil ( plugins , this . webpackConfig ) ;
424423
425- stimulusBridge ( plugins , this . webpackConfig ) ;
426-
427424 cleanPluginUtil ( plugins , this . webpackConfig ) ;
428425
429426 definePluginUtil ( plugins , this . webpackConfig ) ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments