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 @@ -131,9 +131,6 @@ class WebpackConfig {
131
131
resolveUrlLoader : true ,
132
132
resolveUrlLoaderOptions : { }
133
133
} ;
134
- this . stimulusOptions = {
135
- controllerJsonPath : null ,
136
- } ;
137
134
this . preactOptions = {
138
135
preactCompat : false
139
136
} ;
@@ -685,7 +682,9 @@ class WebpackConfig {
685
682
this . addEntry ( name , rootDir + '/' + controllersData . entrypoints [ name ] ) ;
686
683
}
687
684
688
- this . stimulusOptions . controllersJsonPath = controllerJsonPath ;
685
+ this . addAliases ( {
686
+ '@symfony/stimulus-bridge/controllers.json' : path . resolve ( controllerJsonPath ) ,
687
+ } ) ;
689
688
}
690
689
691
690
enableBuildCache ( buildDependencies , callback = ( cache ) => { } ) {
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ const friendlyErrorPluginUtil = require('./plugins/friendly-errors');
38
38
const assetOutputDisplay = require ( './plugins/asset-output-display' ) ;
39
39
const notifierPluginUtil = require ( './plugins/notifier' ) ;
40
40
const PluginPriorities = require ( './plugins/plugin-priorities' ) ;
41
- const stimulusBridge = require ( './plugins/stimulus-bridge' ) ;
42
41
const applyOptionsCallback = require ( './utils/apply-options-callback' ) ;
43
42
const copyEntryTmpName = require ( './utils/copyEntryTmpName' ) ;
44
43
const getVueVersion = require ( './utils/get-vue-version' ) ;
@@ -423,8 +422,6 @@ class ConfigGenerator {
423
422
424
423
variableProviderPluginUtil ( plugins , this . webpackConfig ) ;
425
424
426
- stimulusBridge ( plugins , this . webpackConfig ) ;
427
-
428
425
cleanPluginUtil ( plugins , this . webpackConfig ) ;
429
426
430
427
definePluginUtil ( plugins , this . webpackConfig ) ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments