We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
commonJS allows
folder/ index.ts
to be imported with import {} from 'folder'; TypeScript allows the same convention, and in its --module=es6 output it preserves that import location.
import {} from 'folder';
--module=es6
However, this is unspecified and not supported by all bundlers, in particular closure compiler can't accept this ES6 output.
Tsickle is a good place for us to rewrite such imports to come from the canonical location.
The text was updated successfully, but these errors were encountered:
Fixed by that PR.
Sorry, something went wrong.
alexeagle
No branches or pull requests
commonJS allows
to be imported with
import {} from 'folder';
TypeScript allows the same convention, and in its
--module=es6
output it preserves that import location.However, this is unspecified and not supported by all bundlers, in particular closure compiler can't accept this ES6 output.
Tsickle is a good place for us to rewrite such imports to come from the canonical location.
The text was updated successfully, but these errors were encountered: