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 {
6565 await this . dependencyLookahead ( project , project . dependencies ) ;
6666 }
6767
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+ }
6977 this . applyShims ( project ) ;
7078 if ( this . isConfigValid ( project ) ) {
7179 await this . applyType ( project ) ;
@@ -232,6 +240,7 @@ class ProjectPreprocessor {
232240
233241 // Enhance project with its configuration
234242 Object . assign ( configuredProject , config ) ;
243+ return configuredProject ;
235244 } ) ;
236245
237246 return { extensions : extensionProjects } ;
You can’t perform that action at this time.
0 commit comments