Commit 1bbed72
committed
perf(@angular/build): use callback in string replacement to avoid $ interpolation
Use a callback function in String.replace() to prevent special
replacement patterns ($&, $', etc.) from being interpreted when
a file replacement path contains dollar-sign characters.1 parent 4aa1c10 commit 1bbed72
File tree
1 file changed
+3
-1
lines changed- packages/angular/build/src/tools/esbuild/angular
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
822 | 822 | | |
823 | 823 | | |
824 | 824 | | |
825 | | - | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
826 | 828 | | |
827 | 829 | | |
828 | 830 | | |
| |||
0 commit comments