You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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, since antd imports react 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:
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: