Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(bundler): fix unstable sorting for shim modules
Previous sorting algorithm mixed alphabetical order and shim order, it could lead to rock-paper-scissor situation (means it could choose to honour alphabetical order above shim order). The new sorting takes two steps, first it sorts alphabetically, then sorts shims. This ensure we only breaks alphabetical order, not shim order. fixes #955
- Loading branch information