Skip to content

Commit

Permalink
Sort implicit dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Dec 11, 2021
1 parent f757d73 commit b825e04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Module.ts
Expand Up @@ -274,10 +274,10 @@ export default class Module {
hasModuleSideEffects,
id,
get implicitlyLoadedAfterOneOf() {
return Array.from(module.implicitlyLoadedAfter, getId);
return Array.from(module.implicitlyLoadedAfter, getId).sort();
},
get implicitlyLoadedBefore() {
return Array.from(module.implicitlyLoadedBefore, getId);
return Array.from(module.implicitlyLoadedBefore, getId).sort();
},
get importedIds() {
return Array.from(module.sources, source => module.resolvedIds[source]?.id).filter(Boolean);
Expand Down

0 comments on commit b825e04

Please sign in to comment.