Skip to content

Commit

Permalink
store sorted bundleRefExportIds (#80011)
Browse files Browse the repository at this point in the history
* store sorted bundleRefExportIds

* sort consistently
  • Loading branch information
mshustov authored Oct 9, 2020
1 parent f8e247a commit 5d71db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kbn-optimizer/src/worker/run_compilers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ const observeCompiler = (
);

bundle.cache.set({
bundleRefExportIds,
bundleRefExportIds: bundleRefExportIds.sort(ascending((p) => p)),
optimizerCacheKey: workerConfig.optimizerCacheKey,
cacheKey: bundle.createCacheKey(files, mtimes),
moduleCount,
Expand Down

0 comments on commit 5d71db0

Please sign in to comment.