-
-
Notifications
You must be signed in to change notification settings - Fork 752
Open
Labels
pending triageThe issue/PR is currently untouched.The issue/PR is currently untouched.
Description
What problem does this feature solve?
- Necessary for external analysis of the modules used in order to ensure efficiency of their usage in federation sharing.
- Align with webpack public api
What does the proposed API of configuration look like?
export default class ModuleGraph {
static __from_binding(binding: JsModuleGraph) {
return new ModuleGraph(binding);
}
#inner: JsModuleGraph;
constructor(binding: JsModuleGraph) {
this.#inner = binding;
}
...
getUsedExports(module: Module, runtime: string | string[]): boolean | Array<string> | null {
return this.#inner.getUsedExports(module, runtime);
}
...
}
Metadata
Metadata
Assignees
Labels
pending triageThe issue/PR is currently untouched.The issue/PR is currently untouched.