File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,15 @@ class ProjectPreprocessor {
65
65
await this . dependencyLookahead ( project , project . dependencies ) ;
66
66
}
67
67
68
- await this . loadProjectConfiguration ( project ) ;
68
+ const { extensions} = await this . loadProjectConfiguration ( project ) ;
69
+ if ( extensions && extensions . length ) {
70
+ // Project contains additional extensions
71
+ // => apply them
72
+ // TODO: Check whether extensions get applied twice in case depLookahead already processed them
73
+ await Promise . all ( extensions . map ( ( extProject ) => {
74
+ return this . applyExtension ( extProject ) ;
75
+ } ) ) ;
76
+ }
69
77
this . applyShims ( project ) ;
70
78
if ( this . isConfigValid ( project ) ) {
71
79
await this . applyType ( project ) ;
@@ -232,6 +240,7 @@ class ProjectPreprocessor {
232
240
233
241
// Enhance project with its configuration
234
242
Object . assign ( configuredProject , config ) ;
243
+ return configuredProject ;
235
244
} ) ;
236
245
237
246
return { extensions : extensionProjects } ;
You can’t perform that action at this time.
0 commit comments