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/CHANGELOG.md +14 -0
- package/dist/bin/rollup +2 -2
- package/dist/es/rollup.browser.js +3 -3
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/rollup.js +10 -5
- package/dist/es/shared/watch.js +2 -2
- package/dist/loadConfigFile.js +2 -2
- package/dist/rollup.browser.js +3 -3
- package/dist/rollup.browser.js.map +1 -1
- package/dist/rollup.js +2 -2
- package/dist/shared/index.js +2 -2
- package/dist/shared/loadConfigFile.js +2 -2
- package/dist/shared/mergeOptions.js +2 -2
- package/dist/shared/rollup.js +10 -5
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/package.json +5 -4
package/dist/es/rollup.js
CHANGED
package/dist/es/shared/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v2.67.
|
|
4
|
-
|
|
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.
|
|
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
|
|
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
|
-
|
|
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) {
|
package/dist/es/shared/watch.js
CHANGED
package/dist/loadConfigFile.js
CHANGED