We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a37f0a5 commit 3e19c84Copy full SHA for 3e19c84
packages/angular_devkit/build_angular/src/webpack/plugins/analytics.ts
@@ -172,7 +172,7 @@ export class NgBuildAnalyticsPlugin {
172
protected _collectBundleStats(compilation: Compilation) {
173
const chunkAssets = new Set<string>();
174
for (const chunk of compilation.chunks) {
175
- if (!chunk.rendered) {
+ if (!chunk.rendered || chunk.files.size === 0) {
176
continue;
177
}
178
0 commit comments