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 11import type { WebpackPluginInstance , Compiler } from 'webpack' ;
22import type { moduleFederationPlugin } from '@module-federation/sdk' ;
33import type IModuleFederationPlugin from '../lib/container/ModuleFederationPlugin' ;
4+ import type { ResourceInfo } from '@module-federation/manifest' ;
45
56import { getWebpackPath } from '@module-federation/sdk/normalize-webpack-path' ;
67import path from 'node:path' ;
@@ -45,7 +46,7 @@ export default class ModuleFederationPlugin implements WebpackPluginInstance {
4546 }
4647 }
4748
48- get statsResourceInfo ( ) {
49+ get statsResourceInfo ( ) : Partial < ResourceInfo > | undefined {
4950 return this . _mfPlugin ?. statsResourceInfo ;
5051 }
5152}
You can’t perform that action at this time.
0 commit comments