We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81a8811 commit 7c49f68Copy full SHA for 7c49f68
packages/cli-v3/src/utilities/buildManifest.ts
@@ -6,7 +6,7 @@ export function buildManifestToJSON(manifest: BuildManifest): BuildManifest {
6
return {
7
...rest,
8
// sort externals for deterministic builds
9
- externals: externals?.slice().sort((a, b) => a.name.localeCompare(b.name)),
+ externals: externals?.slice().sort((a, b) => (a.name < b.name ? -1 : a.name > b.name ? 1 : 0)),
10
deploy: {},
11
build: {},
12
};
0 commit comments