File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ type WorkspaceManagerOptions = {
56
56
configFilesMap : Map < string , Map < PluginName , Set < string > > > ;
57
57
} ;
58
58
59
- type CacheItem = { resolveConfig ?: Input [ ] ; resolveFromAST ?: Input [ ] } ;
59
+ type CacheItem = { resolveConfig ?: Input [ ] ; resolveFromAST ?: Input [ ] ; configFile ?: Input } ;
60
60
61
61
const nullConfig : EnsuredPluginConfiguration = { config : null , entry : null , project : null } ;
62
62
@@ -364,6 +364,7 @@ export class WorkspaceWorker {
364
364
const data = fd . meta . data ;
365
365
if ( data . resolveConfig ) for ( const id of data . resolveConfig ) addInput ( id , configFilePath ) ;
366
366
if ( data . resolveFromAST ) for ( const id of data . resolveFromAST ) addInput ( id , configFilePath ) ;
367
+ if ( data . configFile ) addInput ( data . configFile ) ;
367
368
continue ;
368
369
}
369
370
@@ -410,6 +411,7 @@ export class WorkspaceWorker {
410
411
if ( basename ( configFilePath ) !== 'package.json' ) {
411
412
addInput ( toEntry ( configFilePath ) ) ;
412
413
addInput ( toConfig ( pluginName , configFilePath ) ) ;
414
+ cache . configFile = toEntry ( configFilePath ) ;
413
415
414
416
if ( ! seen . has ( key ) ) seen . set ( key , new Set ( ) ) ;
415
417
seen . get ( key ) ?. add ( configFilePath ) ;
You can’t perform that action at this time.
0 commit comments