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.
ɵmod
1 parent 3380d67 commit 90a2925Copy full SHA for 90a2925
packages/angular_devkit/build_angular/plugins/webpack/analytics.ts
@@ -163,10 +163,8 @@ export class NgBuildAnalyticsPlugin {
163
this._stats.numberOfComponents += numIvyComponents;
164
165
// Check whether this is an Ivy app so that it can reported as part of analytics.
166
- if (!this._stats.isIvy) {
167
- if (numIvyComponents > 0 || module._source.source().includes('ɵmod')) {
168
- this._stats.isIvy = true;
169
- }
+ if (!this._stats.isIvy && numIvyComponents > 0) {
+ this._stats.isIvy = true;
170
}
171
172
0 commit comments