@atlaspack/bundler-default 3.0.8-unified-e330ff3d9.0 → 3.0.9-unified-f92fba5b6.0
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 +9 -0
- package/lib/idealGraph.js +12 -10
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaspack/bundler-default
|
|
2
2
|
|
|
3
|
+
## 3.0.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`c75bf55`](https://github.com/atlassian-labs/atlaspack/commit/c75bf553fff4decc285b5fd499a275853b18f8f2)]:
|
|
8
|
+
- @atlaspack/rust@3.4.0
|
|
9
|
+
- @atlaspack/utils@2.16.1
|
|
10
|
+
- @atlaspack/plugin@2.14.17
|
|
11
|
+
|
|
3
12
|
## 3.0.7
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/lib/idealGraph.js
CHANGED
|
@@ -109,15 +109,7 @@ function createIdealGraph(assetGraph, config, entries, logger) {
|
|
|
109
109
|
}
|
|
110
110
|
let assets = [];
|
|
111
111
|
let assetToIndex = new Map();
|
|
112
|
-
|
|
113
|
-
let manualSharedMap = new Map();
|
|
114
|
-
// May need a map to be able to look up NON- bundle root assets which need special case instructions
|
|
115
|
-
// Use this when placing assets into bundles, to avoid duplication
|
|
116
|
-
let manualAssetToBundle = new Map();
|
|
117
|
-
let {
|
|
118
|
-
manualAssetToConfig,
|
|
119
|
-
constantModuleToMSB
|
|
120
|
-
} = function makeManualAssetToConfigLookup() {
|
|
112
|
+
function makeManualAssetToConfigLookup() {
|
|
121
113
|
let manualAssetToConfig = new Map();
|
|
122
114
|
let constantModuleToMSB = new (_utils().DefaultMap)(() => []);
|
|
123
115
|
if (config.manualSharedBundles.length === 0) {
|
|
@@ -181,7 +173,17 @@ function createIdealGraph(assetGraph, config, entries, logger) {
|
|
|
181
173
|
manualAssetToConfig,
|
|
182
174
|
constantModuleToMSB
|
|
183
175
|
};
|
|
184
|
-
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
//Manual is a map of the user-given name to the bundle node Id that corresponds to ALL the assets that match any glob in that user-specified array
|
|
179
|
+
let manualSharedMap = new Map();
|
|
180
|
+
// May need a map to be able to look up NON- bundle root assets which need special case instructions
|
|
181
|
+
// Use this when placing assets into bundles, to avoid duplication
|
|
182
|
+
let manualAssetToBundle = new Map();
|
|
183
|
+
let {
|
|
184
|
+
manualAssetToConfig,
|
|
185
|
+
constantModuleToMSB
|
|
186
|
+
} = makeManualAssetToConfigLookup();
|
|
185
187
|
let manualBundleToInternalizedAsset = new (_utils().DefaultMap)(() => []);
|
|
186
188
|
let mergeSourceBundleLookup = new Map();
|
|
187
189
|
let mergeSourceBundleAssets = new Set((_config$sharedBundleM = config.sharedBundleMerge) === null || _config$sharedBundleM === void 0 ? void 0 : _config$sharedBundleM.flatMap(c => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/bundler-default",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.9-unified-f92fba5b6.0",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"publishConfig": {
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
"node": ">= 16.0.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@atlaspack/diagnostic": "2.14.2-unified-
|
|
20
|
-
"@atlaspack/feature-flags": "2.18.5-unified-
|
|
21
|
-
"@atlaspack/graph": "3.5.7-unified-
|
|
22
|
-
"@atlaspack/plugin": "2.14.
|
|
23
|
-
"@atlaspack/rust": "3.
|
|
24
|
-
"@atlaspack/utils": "2.16.
|
|
19
|
+
"@atlaspack/diagnostic": "2.14.2-unified-f92fba5b6.0",
|
|
20
|
+
"@atlaspack/feature-flags": "2.18.5-unified-f92fba5b6.0",
|
|
21
|
+
"@atlaspack/graph": "3.5.7-unified-f92fba5b6.0",
|
|
22
|
+
"@atlaspack/plugin": "2.14.18-unified-f92fba5b6.0",
|
|
23
|
+
"@atlaspack/rust": "3.4.1-unified-f92fba5b6.0",
|
|
24
|
+
"@atlaspack/utils": "2.16.2-unified-f92fba5b6.0",
|
|
25
25
|
"many-keys-map": "^1.0.3",
|
|
26
26
|
"nullthrows": "^1.1.1"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "f92fba5b6216e1d94cbd23f3a5d61f7188d49199"
|
|
29
29
|
}
|