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

Patching prepareImport before loading script modules. Resolves #2024. #2025

Merged
merged 1 commit into from
Sep 13, 2019

Conversation

joeldenning
Copy link
Collaborator

@joeldenning joeldenning commented Sep 12, 2019

See #2024

The root cause of the bug was order of execution. In 6.1.0, Line 531 needs to execute after line 760. So that prepareImport is patched before the first System.import() occurs. The bug was to rearrange the order of execution.

I reviewed all the features that import-map.js used to execute after but now is executing before. And none of them patch System.resolve or System.prepareImport, so I don't think there will be any side effects of changing up the order of execution.

@guybedford guybedford merged commit a40a82e into master Sep 13, 2019
@guybedford guybedford deleted the issue-2024 branch September 13, 2019 21:46
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.

None yet

2 participants