Repository navigation
Commit 413c164
refactor(@angular/build): remove unused exports
Remove the `export` keyword from four symbols that are only referenced within
their defining file: `calculateThresholds` and `checkThresholds`, whose
external callers moved to `checkBudgets` in 4d27c38;
`augmentAppWithServiceWorkerCore`, which is only called by the exported
wrapper functions; and `getEntryPointName`, whose external call sites were
removed in 75abe2c. The two threshold functions also leave the unsupported
`private` entry point, which re-exports the bundle calculator module; neither
`@angular-devkit/build-angular` nor `@angular/cli` references them, and both
still compile. The public API golden is unchanged.
(cherry picked from commit 07bdf88)1 parent 3ed20d1 commit 413c164
3 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | | - | |
| 310 | + | |
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
357 | | - | |
| 357 | + | |
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
| 216 | + | |
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| |||
0 commit comments