Hey guys. I have a module that is loaded dynamically (lazily) when a user clicks a link, that module imports angular's core FormsModule and everything works fine.
The problem is I'm trying to make my bundle size as small as possible, and I noticed angular bundles the @angular/forms in the main.js, even tho there is no one importing it besides the feature module above. I have some code example here: https://stackoverflow.com/questions/60748482/how-to-lazy-load-angular-core-modules-formsmodule?noredirect=1 Is this expected behavior? Shouldn't FormsModule be lazily loaded together with the feature module? -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/angular/468a917d-bf55-46a8-93f9-243b899aa766%40googlegroups.com.