Commit 53b6cd3
fix(@angular/build): allow .js file replacements in all configuration cases
Previously the `fileReplacements` option within the `application` builder
would only replace `.js` files if the TypeScript `allowJs` option was enabled.
This differs from the `browser` builder which did not require the option.
To minimize friction when migrating to the new build system, the `allowJs`
option is no longer required for this file replacement case.
(cherry picked from commit a325c9a)1 parent a39825e commit 53b6cd3
File tree
1 file changed
+11
-2
lines changed- packages/angular/build/src/tools/esbuild/angular
1 file changed
+11
-2
lines changedLines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
486 | 494 | | |
487 | 495 | | |
488 | 496 | | |
489 | | - | |
| 497 | + | |
490 | 498 | | |
491 | | - | |
| 499 | + | |
492 | 500 | | |
493 | 501 | | |
494 | 502 | | |
495 | 503 | | |
496 | 504 | | |
497 | 505 | | |
498 | 506 | | |
| 507 | + | |
499 | 508 | | |
500 | 509 | | |
501 | 510 | | |
| |||
0 commit comments