Repository navigation
Commit daa122e
committed
fix(@schematics/angular): keep the default ng-packagr output path in use-library-builder
The migration only sets `outputPath` when the ng-packagr configuration has a
`dest`. Without it, ng-packagr writes to `dist` within the package directory,
while the library builder defaults to `dist/<project>`, so the migrated library
is silently built to a different location.
Set `outputPath` to the ng-packagr default when `dest` is not set. A new spec
fails without this change.1 parent 321b475 commit daa122e
2 files changed
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
248 | | - | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
249 | 250 | | |
250 | 251 | | |
251 | 252 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
124 | 136 | | |
125 | 137 | | |
126 | 138 | | |
| |||
0 commit comments