Skip to content

Commit ccafac3

Browse files
authored
fix(manifest): apply stats options (#2175)
1 parent c8b0474 commit ccafac3

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/shiny-feet-buy.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@module-federation/manifest': patch
3+
---
4+
5+
fix(manifest): apply stats options

packages/manifest/src/StatsManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ class StatsManager {
293293
statsOptions['cached'] = true;
294294
statsOptions['cachedModules'] = true;
295295
}
296-
const webpackStats = liveStats.toJson();
296+
const webpackStats = liveStats.toJson(statsOptions);
297297

298298
const filteredModules = this._getFilteredModules(webpackStats);
299299
const moduleHandler = new ModuleHandler(this._options, filteredModules, {

0 commit comments

Comments
 (0)