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 819a481 commit 1227fd6Copy full SHA for 1227fd6
.changeset/popular-mayflies-chew.md
@@ -0,0 +1,5 @@
1
+---
2
+'@module-federation/dts-plugin': patch
3
4
+
5
+fix: Avoid the generation type order being affected by the loading timing so that every type occurs
packages/dts-plugin/src/core/lib/DTSManager.ts
@@ -267,6 +267,7 @@ class DTSManager {
267
const remoteKeys: string[] = [];
268
269
const importTypeStr = this.loadedRemoteAPIAlias
270
+ .sort()
271
.map((alias, index) => {
272
const remoteKey = `RemoteKeys_${index}`;
273
const packageType = `PackageType_${index}`;
0 commit comments