Repository navigation
Commit 07bdf88
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.1 parent 207265a commit 07bdf88
3 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
| 288 | + | |
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
| |||
| 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