File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed 
packages/storybook-addon/src Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,15 @@ import withModuleFederation from '../utils/with-module-federation';
1313import  {  correctImportPath  }  from  '../utils/correctImportPath' ; 
1414
1515import  type  {  moduleFederationPlugin  }  from  '@module-federation/sdk' ; 
16- import  type  {  ModuleFederationConfig  }  from  '@nx/webpack' ; 
16+ 
17+ // Define ModuleFederationConfig type locally since it's not exported from @nx/webpack 
18+ interface  ModuleFederationConfig  { 
19+   name : string ; 
20+   filename ?: string ; 
21+   remotes ?: Record < string ,  string > ; 
22+   exposes ?: Record < string ,  string > ; 
23+   shared ?: Record < string ,  any > ; 
24+ } 
1725
1826const  {  ModuleFederationPlugin }  =  container ; 
1927
Original file line number Diff line number Diff line change 11import  {  getModuleFederationConfig  }  from  '@nx/module-federation/src/with-module-federation/webpack/utils' ; 
22import  {  container ,  Configuration  }  from  'webpack' ; 
33
4- import  {  ModuleFederationConfig  }  from  '@nx/webpack' ; 
4+ // Define ModuleFederationConfig type locally since it's not exported from @nx/webpack 
5+ interface  ModuleFederationConfig  { 
6+   name : string ; 
7+   filename ?: string ; 
8+   remotes ?: Record < string ,  string > ; 
9+   exposes ?: Record < string ,  string > ; 
10+   shared ?: Record < string ,  any > ; 
11+ } 
512
613const  {  ModuleFederationPlugin }  =  container ; 
714
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments