Files

RemoveModuleId migration

As of Angular version 9, the moduleId property has no effect. This migration removes the field from all @Directive or @Component decorators.

Before

@Component({
  moduleId: <..>,
  template: 'Works',
})
export class MyComponent {}

After

@Component({
  template: 'Works',
})
export class MyComponent {}