Angular Modernizer
    Preparing search index...

    Configuration options for standalone migration, read from the rule configuration (context.config).

    interface StandaloneMigrationConfig {
        autoAddCommonModule?: boolean;
        autoAddFormsModule?: boolean;
        preserveExistingImports?: boolean;
    }
    Index

    Properties

    autoAddCommonModule?: boolean

    Whether to automatically add CommonModule when common directives are detected. Default: true

    autoAddFormsModule?: boolean

    Whether to automatically add FormsModule when forms directives are detected. Default: true. Read, but not applied by the current migration.

    preserveExistingImports?: boolean

    Whether to preserve existing imports array if standalone is already true. Default: false (overwrite). Read, but not applied by the current migration.