We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaa31cf commit 140af52Copy full SHA for 140af52
1 file changed
packages/core/src/inner-plugins/plugins/ensureModulesChunkGraph.ts
@@ -124,17 +124,20 @@ async function doneHandler(
124
let cached: Plugin.StatsCompilation | null = null;
125
return () => {
126
if (cached) return cached as Plugin.StatsCompilation;
127
- cached = stats.toJson({
128
- all: false,
129
- chunks: true,
130
- modules: true,
131
- chunkModules: true,
132
- assets: true,
133
- ids: true,
134
- hash: true,
135
- errors: true,
136
- warnings: true,
137
- });
+ cached =
+ compiler.options.name === 'lynx'
+ ? stats.toJson()
+ : stats.toJson({
+ all: false,
+ chunks: true,
+ modules: true,
+ chunkModules: true,
+ assets: true,
+ ids: true,
+ hash: true,
138
+ errors: true,
139
+ warnings: true,
140
+ });
141
return cached;
142
};
143
})();
0 commit comments