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 2c8e290 commit 64fe2c1Copy full SHA for 64fe2c1
packages/bundler-plugin-core/src/debug-id-upload.ts
@@ -89,6 +89,10 @@ export function createDebugIdUploadFunction({
89
debugIdChunkFilePath.endsWith(".cjs")
90
);
91
92
+ // The order of the files output by glob() is not deterministic
93
+ // Ensure order within the files so that {debug-id}-{chunkIndex} coupling is consistent
94
+ debugIdChunkFilePaths.sort();
95
+
96
if (Array.isArray(assets) && assets.length === 0) {
97
logger.debug(
98
"Empty `sourcemaps.assets` option provided. Will not upload sourcemaps with debug ID."
0 commit comments