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

refactor: use package names for external dependencies #1988

Merged
merged 2 commits into from
Jan 2, 2019

Conversation

saschanaz
Copy link
Collaborator

@saschanaz saschanaz commented Jan 1, 2019

Because currently external dependencies can only be automatically typed through their package names with TypeScript.

Importing with package name blocks migration to ES modules, but those dependencies are not ES module compatible anyway. There is a discussion to enable import-by-package-name with native ES modules so I hope we get a fix soon.

webpack does not automatically throw but only returns errors. (It still throws when getting internal fatal errors)
@saschanaz
Copy link
Collaborator Author

cc: @devanshbatra04 as you are taking #1905 up.

Copy link
Contributor

@marcoscaceres marcoscaceres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I hadn't thought about this... this background link to this is quite interesting.

@saschanaz saschanaz merged commit 2936011 into develop Jan 2, 2019
@saschanaz saschanaz deleted the package-names branch January 2, 2019 02:37
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

Successfully merging this pull request may close these issues.

2 participants