Skip to content

issue with gts/gjs if ts transform is enabled  #611

@patricklx

Description

@patricklx

Since ts babel plugin removes the unused (but used in template) imports at program enter, this plugin doesn't have a chance to analyse them.

This plugin probably needs to do the same as ember babel template compilation.
Or just analyse the imports at program exit

Maybe the approach needs some rethink as every plugin that wants to analyse imports of gts files needs to adop the same behaviour.

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