@atlaspack/bundler-default 2.14.5-canary.11 → 2.14.5-canary.12
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 +31 -0
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @atlaspack/bundler-default
|
|
2
2
|
|
|
3
|
+
## 2.15.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#535](https://github.com/atlassian-labs/atlaspack/pull/535) [`a4bc259`](https://github.com/atlassian-labs/atlaspack/commit/a4bc2590196b6c1e743e4edcb0337e8c4c240ab4) Thanks [@mattcompiles](https://github.com/mattcompiles)! - Add `sharedBundleMergeThreshold` config option
|
|
8
|
+
|
|
9
|
+
In apps with lots of dynamic imports, many shared bundles are often removed
|
|
10
|
+
from the output to prevent an overload in network requests according to the
|
|
11
|
+
`maxParallelRequests` config. In these cases, setting `sharedBundleMergeThreshold` can
|
|
12
|
+
merge shared bundles with a high overlap in their source bundles (bundles that share the bundle).
|
|
13
|
+
This config trades-off potential overfetching to reduce asset duplication.
|
|
14
|
+
|
|
15
|
+
The following config would merge shared bundles that have a 75% or higher overlap in source bundles.
|
|
16
|
+
|
|
17
|
+
```json
|
|
18
|
+
{
|
|
19
|
+
"@atlaspack/bundler-default": {
|
|
20
|
+
"sharedBundleMergeThreshold": 0.75
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies [[`11d6f16`](https://github.com/atlassian-labs/atlaspack/commit/11d6f16b6397dee2f217167e5c98b39edb63f7a7), [`e2ba0f6`](https://github.com/atlassian-labs/atlaspack/commit/e2ba0f69702656f3d1ce95ab1454e35062b13b39), [`d2c50c2`](https://github.com/atlassian-labs/atlaspack/commit/d2c50c2c020888b33bb25b8690d9320c2b69e2a6), [`46a90dc`](https://github.com/atlassian-labs/atlaspack/commit/46a90dccd019a26b222c878a92d23acc75dc67c5)]:
|
|
28
|
+
- @atlaspack/feature-flags@2.14.3
|
|
29
|
+
- @atlaspack/rust@3.3.0
|
|
30
|
+
- @atlaspack/graph@3.4.3
|
|
31
|
+
- @atlaspack/utils@2.14.5
|
|
32
|
+
- @atlaspack/plugin@2.14.5
|
|
33
|
+
|
|
3
34
|
## 2.14.4
|
|
4
35
|
|
|
5
36
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/bundler-default",
|
|
3
|
-
"version": "2.14.5-canary.
|
|
3
|
+
"version": "2.14.5-canary.12+143753ba0",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"publishConfig": {
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
"node": ">= 16.0.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@atlaspack/diagnostic": "2.14.1-canary.
|
|
20
|
-
"@atlaspack/feature-flags": "2.14.1-canary.
|
|
21
|
-
"@atlaspack/graph": "3.4.1-canary.
|
|
22
|
-
"@atlaspack/plugin": "2.14.5-canary.
|
|
23
|
-
"@atlaspack/rust": "3.2.1-canary.
|
|
24
|
-
"@atlaspack/utils": "2.14.5-canary.
|
|
19
|
+
"@atlaspack/diagnostic": "2.14.1-canary.80+143753ba0",
|
|
20
|
+
"@atlaspack/feature-flags": "2.14.1-canary.80+143753ba0",
|
|
21
|
+
"@atlaspack/graph": "3.4.1-canary.80+143753ba0",
|
|
22
|
+
"@atlaspack/plugin": "2.14.5-canary.12+143753ba0",
|
|
23
|
+
"@atlaspack/rust": "3.2.1-canary.12+143753ba0",
|
|
24
|
+
"@atlaspack/utils": "2.14.5-canary.12+143753ba0",
|
|
25
25
|
"nullthrows": "^1.1.1"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "143753ba049078d59fbf1a8880f4c4caf2320311"
|
|
28
28
|
}
|