Skip to content

Commit 5ed65ce

Browse files
committed
feat(bundle): sort module ids
This is meant to prevent different order when building. This cause the hash of the vendor bundle to change when it should not.
1 parent 41e5e57 commit 5ed65ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/build/bundle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ exports.Bundle = class {
109109
}
110110

111111
getBundledModuleIds() {
112-
return unique(this.includes.reduce((a, b) => a.concat(b.getAllModuleIds()), []));
112+
return unique(this.includes.reduce((a, b) => a.concat(b.getAllModuleIds()), [])).sort();
113113
}
114114

115115
getBundledFiles() {

0 commit comments

Comments
 (0)