Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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