-
Notifications
You must be signed in to change notification settings - Fork 404
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
Order of the import statements changes #280
Comments
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As far as I can tell, the plugin changes the order of the imports.
This can cause an issue when, for example, you load polyfills (for IE11) and
antd
in the same file, since the the transformed imports go to the top of the transpiled file (thus before the polyfills) and, sinceantd
importsreact
before the polyfills are loaded, we have the issue described here.Is it possible to "rewrite" the imports in the same order of the original file? If not, is it possible to document this behavior?
The text was updated successfully, but these errors were encountered: