Nithin
Nithin

Reputation: 121

Angular 19 not adding all the injectables on source map

We are working on Ionic app and recently moved to Angular 19 from 18, the migration was smooth however we have an issue with source tree that we use for debugging purposes. Some of the @Injectable annotated (NgXs state) files are not available on the app startup. In 18 we used to see these files on app startup but in 19 it’s not the case.

We know Angular 19 build process has been changed since 18 but what exactly is the reason why we don’t see these anymore. We are using NgXs for state management in our application, while some of the state files are seen some of them are missing. As you can see in the below image some of the state files are attached to the source tree and some of them are missed. Need help on understanding why this happens. We are using standalone components, and we tried looking at the source tree after rendering the components in which some of these states are used, however we still are not able to see them show up.

enter image description here

Upvotes: 1

Views: 56

Answers (0)

Related Questions