File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
packages/enhanced/src/wrapper Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @module-federation/enhanced ' : patch
3
+ ---
4
+
5
+ fix(enhanced): correct enhanced ModuleFederation types error
Original file line number Diff line number Diff line change 1
1
import type { WebpackPluginInstance , Compiler } from 'webpack' ;
2
2
import type { moduleFederationPlugin } from '@module-federation/sdk' ;
3
3
import type IModuleFederationPlugin from '../lib/container/ModuleFederationPlugin' ;
4
+ import type { ResourceInfo } from '@module-federation/manifest' ;
4
5
5
6
import { getWebpackPath } from '@module-federation/sdk/normalize-webpack-path' ;
6
7
import path from 'node:path' ;
@@ -45,7 +46,7 @@ export default class ModuleFederationPlugin implements WebpackPluginInstance {
45
46
}
46
47
}
47
48
48
- get statsResourceInfo ( ) {
49
+ get statsResourceInfo ( ) : Partial < ResourceInfo > | undefined {
49
50
return this . _mfPlugin ?. statsResourceInfo ;
50
51
}
51
52
}
You can’t perform that action at this time.
0 commit comments