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
In all other cases, like leaving imports only in chunk or in the entry file imports will be ordered as declared.
After renaming directories order changed
The text was updated successfully, but these errors were encountered:
Closing as a duplicate of #399. This issue arose from a misunderstanding of mine about the ordering constraints of ES6 import statements. I believe it only happens when code splitting is enabled. Fixing this means coming up with a new algorithm instead of simply fixing a bug, so it's not something I can quickly release a patch for unfortunately.
The example I'm providing is not actually accurate in how modules should be imported but I think it could point on a defect that can cause issues.
Let's say we have the next structure
In the output bundled chunk, the second import declared first
In all other cases, like leaving imports only in chunk or in the entry file imports will be ordered as declared.
After renaming directories order changed
The text was updated successfully, but these errors were encountered: