Skip to content

Re-exported templates from template-only components in in-repo addons are incorrectly removed #25

@robinborst95

Description

@robinborst95

Within our in-repo addons, we have a structure as follows:

app
  templates
    components
      nested
        foo.hbs
      nested-2
        bar.js

with bar.js a file with a re-export like:

export { default } from '../nested/foo';

When running this codemod, such re-exported templates are removed, which leads to missing component errors. Since we have a lot of components, this resulted in having to check all removed templates to see if they were removed correctly or not 😕

Within the app directory this seemed not to have been an issue though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions