File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
packages/angular_devkit/build_angular/plugins/webpack Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,8 @@ export class NgBuildAnalyticsPlugin {
161161 this . _stats . numberOfComponents += countOccurrences ( module . _source . source ( ) , 'Component({' ) ;
162162 // For Ivy we just count ɵcmp.
163163 this . _stats . numberOfComponents += countOccurrences ( module . _source . source ( ) , '.ɵcmp' , true ) ;
164+ // for ascii_only true
165+ this . _stats . numberOfComponents += countOccurrences ( module . _source . source ( ) , '.\u0275cmp' , true ) ;
164166 }
165167 }
166168
@@ -172,6 +174,8 @@ export class NgBuildAnalyticsPlugin {
172174 // Count the number of `.ɵccf(` strings (case sensitive). They're calls to components
173175 // factories.
174176 this . _stats . numberOfComponents += countOccurrences ( module . _source . source ( ) , '.ɵccf(' ) ;
177+ // for ascii_only true
178+ this . _stats . numberOfComponents += countOccurrences ( module . _source . source ( ) , '.\u0275ccf(' ) ;
175179 }
176180 }
177181
You can’t perform that action at this time.
0 commit comments