Skip to content

bug(main.ts): IonicModule is not migrate to provideIonicAngular #24

Closed
@rdlabo

Description

@rdlabo

Prerequisites

Codemod version

v0.0.5

Current Behavior

not migrate

Expected Behavior

migrate

Steps to Reproduce

if (environment.production) {
    enableProdMode();
}

export const appConfig: ApplicationConfig = {
    providers: [
        provideRouter(routes),
        importProvidersFrom(
            BrowserModule,
            IonicModule.forRoot({
                backButtonText: '',
                scrollAssist: true,
            }),
        ),
    ],
};

defineCustomElements(window);

Code Reproduction URL

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: buga confirmed bug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions