Commit e87d302
committed
fix(@angular-devkit/build-angular): fix app-shell route format and
improve package resolution
- In the `app-shell` builder, ensure the route URL has a leading slash.
- In webpack helpers, use `createRequire` in `isPackageInstalled` to improve package resolution robustness.
(cherry picked from commit cf5b49e)1 parent 0787786 commit e87d302
File tree
2 files changed
+5
-2
lines changed- packages/angular_devkit/build_angular/src
- builders/app-shell
- tools/webpack/utils
2 files changed
+5
-2
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
92 | | - | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
314 | 315 | | |
315 | 316 | | |
316 | 317 | | |
317 | | - | |
| 318 | + | |
| 319 | + | |
318 | 320 | | |
319 | 321 | | |
320 | 322 | | |
| |||
0 commit comments