File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed
packages/runtime/core/src Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -105,17 +105,11 @@ export class Garfish extends EventEmitter {
105
105
options = deepMergeConfig ( mainOptions , options ) ;
106
106
options = filterNestedConfig ( options ) ;
107
107
108
- // Isolate global app hooks
109
- this . hooks . usePlugin (
110
- GarfishOptionsLife (
111
- options ,
112
- // pluginName is unique
113
- `nested-lifecycle-${ numberOfNesting ++ } ` ,
114
- ) ( ) ,
115
- ) ;
116
- options . plugins ?. forEach ( ( plugin ) =>
117
- this . hooks . usePlugin ( plugin ( this ) ) ,
108
+ // `pluginName` is unique
109
+ this . usePlugin (
110
+ GarfishOptionsLife ( options , `nested-lifecycle-${ numberOfNesting ++ } ` ) ,
118
111
) ;
112
+ options . plugins ?. forEach ( ( plugin ) => this . usePlugin ( plugin ) ) ;
119
113
120
114
if ( options . apps ) {
121
115
this . registerApp (
You can’t perform that action at this time.
0 commit comments