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 {
130
130
resolveUrlLoader : true ,
131
131
resolveUrlLoaderOptions : { }
132
132
} ;
133
- this . stimulusOptions = {
134
- controllerJsonPath : null ,
135
- } ;
136
133
this . preactOptions = {
137
134
preactCompat : false
138
135
} ;
@@ -682,7 +679,9 @@ class WebpackConfig {
682
679
this . addEntry ( name , rootDir + '/' + controllersData . entrypoints [ name ] ) ;
683
680
}
684
681
685
- this . stimulusOptions . controllersJsonPath = controllerJsonPath ;
682
+ this . addAliases ( {
683
+ '@symfony/stimulus-bridge/controllers.json' : path . resolve ( controllerJsonPath ) ,
684
+ } ) ;
686
685
}
687
686
688
687
enableReactPreset ( ) {
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' ) ;
@@ -422,8 +421,6 @@ class ConfigGenerator {
422
421
423
422
variableProviderPluginUtil ( plugins , this . webpackConfig ) ;
424
423
425
- stimulusBridge ( plugins , this . webpackConfig ) ;
426
-
427
424
cleanPluginUtil ( plugins , this . webpackConfig ) ;
428
425
429
426
definePluginUtil ( plugins , this . webpackConfig ) ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments