-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(analyzer): ignore type-only imports & exports (#433)
Backports #380. * fix(analyzer): ignore type-only imports & exports * test(analyzer): type-only imports ignored in created file * test(analyzer): add `@babel/plugin-syntax-typescript` If the TS syntax plugin is not loaded, the following scenarios fail, as the `import type` syntax is not understood: - `lts-own` - `release-own` - `beta-own` - `canary-own` * test(analyzer): conditional `babel@7` tests The `import type` syntax is only available with `babel@7`, but `ember-auto-import@1.x` only tests for `babel@6`. This commit makes the `analyzer` test module run twice: once for `babel@6` an once for `babel@7`, where the latter has a different babel plugin configuration and runs the addition `import type` test.
- Loading branch information
1 parent
d84da44
commit 3ac52ff
Showing
4 changed files
with
67 additions
and
15 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters