Skip to main content

All Questions

1 vote
4 answers
1k views

Exclude standalone components depending on a build in Angular

I have two environments - one for testing and the second for the release. I have a standalone component that helps me with debugging, but I don't want to include this in the release build. How can I ...
Chocho's user avatar
  • 81
0 votes
0 answers
2k views

Angular 13 - main.js:1 TypeError: Cannot read properties of undefined (reading 'deps')

Upgrading from Angular 11 to 13 was flawless. The application used several custom libraries that were built externally. Prior to the upgrade, I manually created those components/services/models inside ...
Dev's user avatar
  • 1
0 votes
2 answers
219 views

Does seperating NgModules decrease the build time

Let's say we have a big NgModule the SharedModule, which exports a lot of components which are needed in multiple components. By importing the SharedModule into a feature module there is often an ...
sevic's user avatar
  • 982