You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I shipped my own angular libraries with typescript source code and source map, then consume it in a regular angular app. after run ng build, I observed the following item in vendor.js.map's sources property:
The is caused by NGCC which is needed for Angular libraries that have been compiled with older versions of Angular. NGCC is no longer needed when compiled with Angular 13+.
That said, in general it is not expected that TypeScript sources are included in node_modules See: angular/angular-cli#22701
Closing as NGCC doesn't support such a library setup.
🐞 Bug report
Command (mark with an
x
)Description
I shipped my own angular libraries with typescript source code and source map, then consume it in a regular angular app. after run
ng build
, I observed the following item in vendor.js.map's sources property:which doesn't exist on my disk at all.
🌍 Your Environment
The text was updated successfully, but these errors were encountered: