Skip to content

bug: imports are duplicated in modules that contain multiple declarations in NgModule-based applicationsΒ #33

@luke-rogers

Description

@luke-rogers

Prerequisites

Codemod version

0.0.7

Current Behavior

When running the codemod against a project which is still NgModule-based, where a module contains multiple declarations, the imports are duplicated where they exist in each of the modules declarations

Expected Behavior

Imports of the standalone components should be unique within the module

Steps to Reproduce

  1. Have a project that is still NgModule-based and that has a module with multiple declarations using the same ionic components
  2. Run the codemod
  3. Observe the resulting module has duplicated imports of the standalone ionic components

Code Reproduction URL

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions