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
Imports are incorrectly reordered #2490
Comments
oops thanks @jamiewinder . fixed in the original |
I was able to work around this temporarily by moving the imports that need to be first to a separate file |
Ok, this issue was a really enlightening one. Previously, the only guarantees our bundling had were:
There was, however, no guarantee that external imports were executed in a particular order between themselves. I created a PR that solves your problem and many similar problems at the same time while improving execution order, please check it out: #2508 |
Awesome! Thank you! |
How Do We Reproduce?
repl reproduction
Expected Behavior
The original import order should be maintained
Actual Behavior
The imports that pull in content from other files get pushed to the top, above imports that are not resolved (because they are external packages)
The text was updated successfully, but these errors were encountered: