Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
robinborst95 opened this issue Jul 31, 2023 · 0 comments

Comments

@robinborst95
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant