rollup 2.67.1 → 2.67.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/es/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.67.1
4
- Mon, 07 Feb 2022 05:29:30 GMT - commit efd71e930e86ab30f4911ed8caa7f78aca005729
3
+ Rollup.js v2.67.2
4
+ Thu, 10 Feb 2022 08:15:45 GMT - commit 60706c33073abe34cac170a92a17a1b166d348e3
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.67.1
4
- Mon, 07 Feb 2022 05:29:30 GMT - commit efd71e930e86ab30f4911ed8caa7f78aca005729
3
+ Rollup.js v2.67.2
4
+ Thu, 10 Feb 2022 08:15:45 GMT - commit 60706c33073abe34cac170a92a17a1b166d348e3
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -15,7 +15,7 @@ import { createHash as createHash$1 } from 'crypto';
15
15
  import { promises } from 'fs';
16
16
  import { EventEmitter } from 'events';
17
17
 
18
- var version$1 = "2.67.1";
18
+ var version$1 = "2.67.2";
19
19
 
20
20
  var charToInteger = {};
21
21
  var chars$1 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
@@ -15921,7 +15921,7 @@ class Bundle {
15921
15921
  }
15922
15922
  }
15923
15923
  assignManualChunks(getManualChunk) {
15924
- const manualChunkAliasByEntry = new Map();
15924
+ const manualChunkAliasesWithEntry = [];
15925
15925
  const manualChunksApi = {
15926
15926
  getModuleIds: () => this.graph.modulesById.keys(),
15927
15927
  getModuleInfo: this.graph.getModuleInfo
@@ -15930,10 +15930,15 @@ class Bundle {
15930
15930
  if (module instanceof Module) {
15931
15931
  const manualChunkAlias = getManualChunk(module.id, manualChunksApi);
15932
15932
  if (typeof manualChunkAlias === 'string') {
15933
- addModuleToManualChunk(manualChunkAlias, module, manualChunkAliasByEntry);
15933
+ manualChunkAliasesWithEntry.push([manualChunkAlias, module]);
15934
15934
  }
15935
15935
  }
15936
15936
  }
15937
+ manualChunkAliasesWithEntry.sort(([aliasA], [aliasB]) => aliasA > aliasB ? 1 : aliasA < aliasB ? -1 : 0);
15938
+ const manualChunkAliasByEntry = new Map();
15939
+ for (const [alias, module] of manualChunkAliasesWithEntry) {
15940
+ addModuleToManualChunk(alias, module, manualChunkAliasByEntry);
15941
+ }
15937
15942
  return manualChunkAliasByEntry;
15938
15943
  }
15939
15944
  finaliseAssets(outputBundle) {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.67.1
4
- Mon, 07 Feb 2022 05:29:30 GMT - commit efd71e930e86ab30f4911ed8caa7f78aca005729
3
+ Rollup.js v2.67.2
4
+ Thu, 10 Feb 2022 08:15:45 GMT - commit 60706c33073abe34cac170a92a17a1b166d348e3
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.67.1
4
- Mon, 07 Feb 2022 05:29:30 GMT - commit efd71e930e86ab30f4911ed8caa7f78aca005729
3
+ Rollup.js v2.67.2
4
+ Thu, 10 Feb 2022 08:15:45 GMT - commit 60706c33073abe34cac170a92a17a1b166d348e3
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup