File tree 1 file changed +4
-0
lines changed
packages/angular_devkit/build_angular/plugins/webpack 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,8 @@ export class NgBuildAnalyticsPlugin {
161
161
this . _stats . numberOfComponents += countOccurrences ( module . _source . source ( ) , 'Component({' ) ;
162
162
// For Ivy we just count ɵcmp.
163
163
this . _stats . numberOfComponents += countOccurrences ( module . _source . source ( ) , '.ɵcmp' , true ) ;
164
+ // for ascii_only true
165
+ this . _stats . numberOfComponents += countOccurrences ( module . _source . source ( ) , '.\u0275cmp' , true ) ;
164
166
}
165
167
}
166
168
@@ -172,6 +174,8 @@ export class NgBuildAnalyticsPlugin {
172
174
// Count the number of `.ɵccf(` strings (case sensitive). They're calls to components
173
175
// factories.
174
176
this . _stats . numberOfComponents += countOccurrences ( module . _source . source ( ) , '.ɵccf(' ) ;
177
+ // for ascii_only true
178
+ this . _stats . numberOfComponents += countOccurrences ( module . _source . source ( ) , '.\u0275ccf(' ) ;
175
179
}
176
180
}
177
181
You can’t perform that action at this time.
0 commit comments