diff --git a/packages/angular/src/generators/remote/remote.ts b/packages/angular/src/generators/remote/remote.ts index ed5226c9362a8..a56544dbc31ba 100644 --- a/packages/angular/src/generators/remote/remote.ts +++ b/packages/angular/src/generators/remote/remote.ts @@ -86,17 +86,10 @@ export class AppComponent {}`; tree.write( joinPathFragments(project.sourceRoot, 'app/app.module.ts'), - `/* -* This RemoteEntryModule is imported here to allow TS to find the Module during -* compilation, allowing it to be included in the built bundle. This is required -* for the Module Federation Plugin to expose the Module correctly. -* */ -import { RemoteEntryModule } from './remote-entry/entry.module'; -import { NgModule } from '@angular/core'; + `import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; - -import { AppComponent } from './app.component'; import { RouterModule } from '@angular/router'; +import { AppComponent } from './app.component'; @NgModule({ declarations: [AppComponent],