@atlaspack/bundler-default 2.14.5-canary.34 → 2.14.5-canary.341
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 +589 -0
- package/dist/DefaultBundler.js +84 -0
- package/dist/MonolithicBundler.js +68 -0
- package/dist/bundleMerge.js +137 -0
- package/dist/bundlerConfig.js +223 -0
- package/dist/decorateLegacyGraph.js +189 -0
- package/dist/idealGraph.js +1471 -0
- package/dist/memoize.js +31 -0
- package/dist/stats.js +69 -0
- package/lib/DefaultBundler.js +6 -1
- package/lib/MonolithicBundler.js +11 -3
- package/lib/bundleMerge.js +106 -37
- package/lib/bundlerConfig.js +52 -6
- package/lib/decorateLegacyGraph.js +24 -3
- package/lib/idealGraph.js +410 -55
- package/lib/memoize.js +39 -0
- package/lib/stats.js +85 -0
- package/lib/types/DefaultBundler.d.ts +18 -0
- package/lib/types/MonolithicBundler.d.ts +2 -0
- package/lib/types/bundleMerge.d.ts +9 -0
- package/lib/types/bundlerConfig.d.ts +36 -0
- package/lib/types/decorateLegacyGraph.d.ts +3 -0
- package/lib/types/idealGraph.d.ts +40 -0
- package/lib/types/memoize.d.ts +2 -0
- package/lib/types/stats.d.ts +16 -0
- package/package.json +20 -12
- package/src/{DefaultBundler.js → DefaultBundler.ts} +21 -6
- package/src/{MonolithicBundler.js → MonolithicBundler.ts} +17 -5
- package/src/bundleMerge.ts +250 -0
- package/src/{bundlerConfig.js → bundlerConfig.ts} +106 -45
- package/src/{decorateLegacyGraph.js → decorateLegacyGraph.ts} +26 -7
- package/src/{idealGraph.js → idealGraph.ts} +729 -137
- package/src/memoize.ts +32 -0
- package/src/stats.ts +97 -0
- package/tsconfig.json +30 -0
- package/tsconfig.tsbuildinfo +1 -0
- package/src/bundleMerge.js +0 -103
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,594 @@
|
|
|
1
1
|
# @atlaspack/bundler-default
|
|
2
2
|
|
|
3
|
+
## 3.4.19
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`7cb8569`](https://github.com/atlassian-labs/atlaspack/commit/7cb85698143e381fcb887173b2bfd15f0aea7918), [`695339e`](https://github.com/atlassian-labs/atlaspack/commit/695339e4fd46df9590013c2ef4de74cb22225927)]:
|
|
8
|
+
- @atlaspack/rust@3.17.0
|
|
9
|
+
- @atlaspack/utils@3.2.8
|
|
10
|
+
- @atlaspack/types-internal@2.22.4
|
|
11
|
+
- @atlaspack/graph@3.6.9
|
|
12
|
+
- @atlaspack/plugin@2.14.47
|
|
13
|
+
|
|
14
|
+
## 3.4.18
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [[`515149d`](https://github.com/atlassian-labs/atlaspack/commit/515149d0a0767d844af803efdc611646780ad0fe), [`02cc8b3`](https://github.com/atlassian-labs/atlaspack/commit/02cc8b32c06ca6b51806b33f6f707ca06e55e957), [`02cc8b3`](https://github.com/atlassian-labs/atlaspack/commit/02cc8b32c06ca6b51806b33f6f707ca06e55e957)]:
|
|
19
|
+
- @atlaspack/rust@3.16.0
|
|
20
|
+
- @atlaspack/feature-flags@2.27.5
|
|
21
|
+
- @atlaspack/types-internal@2.22.3
|
|
22
|
+
- @atlaspack/utils@3.2.7
|
|
23
|
+
- @atlaspack/graph@3.6.8
|
|
24
|
+
- @atlaspack/plugin@2.14.46
|
|
25
|
+
|
|
26
|
+
## 3.4.17
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- Updated dependencies [[`793e78c`](https://github.com/atlassian-labs/atlaspack/commit/793e78c68eed25032e686f70cd77ea3601409b35)]:
|
|
31
|
+
- @atlaspack/feature-flags@2.27.4
|
|
32
|
+
- @atlaspack/graph@3.6.7
|
|
33
|
+
- @atlaspack/types-internal@2.22.2
|
|
34
|
+
- @atlaspack/utils@3.2.6
|
|
35
|
+
- @atlaspack/plugin@2.14.45
|
|
36
|
+
|
|
37
|
+
## 3.4.16
|
|
38
|
+
|
|
39
|
+
### Patch Changes
|
|
40
|
+
|
|
41
|
+
- Updated dependencies [[`362a85d`](https://github.com/atlassian-labs/atlaspack/commit/362a85deb9722f769eeb5099bae915f8b858a126), [`c81b368`](https://github.com/atlassian-labs/atlaspack/commit/c81b368db20af701d9e019a11272b138f9cfe080)]:
|
|
42
|
+
- @atlaspack/rust@3.15.0
|
|
43
|
+
- @atlaspack/utils@3.2.5
|
|
44
|
+
- @atlaspack/types-internal@2.22.1
|
|
45
|
+
- @atlaspack/graph@3.6.6
|
|
46
|
+
- @atlaspack/plugin@2.14.44
|
|
47
|
+
|
|
48
|
+
## 3.4.15
|
|
49
|
+
|
|
50
|
+
### Patch Changes
|
|
51
|
+
|
|
52
|
+
- Updated dependencies [[`00fa643`](https://github.com/atlassian-labs/atlaspack/commit/00fa6433202bfd3311479f6314c9ec878a789f2c)]:
|
|
53
|
+
- @atlaspack/types-internal@2.22.0
|
|
54
|
+
- @atlaspack/graph@3.6.5
|
|
55
|
+
- @atlaspack/plugin@2.14.43
|
|
56
|
+
- @atlaspack/utils@3.2.4
|
|
57
|
+
|
|
58
|
+
## 3.4.14
|
|
59
|
+
|
|
60
|
+
### Patch Changes
|
|
61
|
+
|
|
62
|
+
- Updated dependencies [[`787290a`](https://github.com/atlassian-labs/atlaspack/commit/787290a63b3f781e7af86097201dfdb5a36c8551), [`cbb66a5`](https://github.com/atlassian-labs/atlaspack/commit/cbb66a554f7ad679fd4dfc9e2bf2d5abb859f846), [`7815a93`](https://github.com/atlassian-labs/atlaspack/commit/7815a931b18983c3f34a39990b2f4b8b86855cc6), [`25aa273`](https://github.com/atlassian-labs/atlaspack/commit/25aa2735f4db920960de3d65d3a427775086b7d5), [`9468e16`](https://github.com/atlassian-labs/atlaspack/commit/9468e164e8ca20a5e8f552f5dc203aa3716cb154), [`e55c80c`](https://github.com/atlassian-labs/atlaspack/commit/e55c80cd0ae3cc40356fe063cb7d45fbb9095356)]:
|
|
63
|
+
- @atlaspack/rust@3.14.0
|
|
64
|
+
- @atlaspack/feature-flags@2.27.3
|
|
65
|
+
- @atlaspack/utils@3.2.3
|
|
66
|
+
- @atlaspack/graph@3.6.4
|
|
67
|
+
- @atlaspack/types-internal@2.21.3
|
|
68
|
+
- @atlaspack/plugin@2.14.42
|
|
69
|
+
|
|
70
|
+
## 3.4.13
|
|
71
|
+
|
|
72
|
+
### Patch Changes
|
|
73
|
+
|
|
74
|
+
- Updated dependencies [[`96f1d7f`](https://github.com/atlassian-labs/atlaspack/commit/96f1d7f3efef12ce4f5966e34d00b299fcefb4dd), [`91738fd`](https://github.com/atlassian-labs/atlaspack/commit/91738fd77cb6b3b7acc93e799327ec283d27f7c0), [`38f3569`](https://github.com/atlassian-labs/atlaspack/commit/38f3569a7024357c43274666312bc6d024bfe5f9), [`3f6a3b8`](https://github.com/atlassian-labs/atlaspack/commit/3f6a3b8df4589fd4d65c072281c7f33bd37341d6), [`96f1d7f`](https://github.com/atlassian-labs/atlaspack/commit/96f1d7f3efef12ce4f5966e34d00b299fcefb4dd), [`d8024ce`](https://github.com/atlassian-labs/atlaspack/commit/d8024ce5c9ced1a9bc39144c979138be3a12b2fb), [`308e7ff`](https://github.com/atlassian-labs/atlaspack/commit/308e7ff979c05c1ae97fe6b08a65666b53d86cc7), [`d98c992`](https://github.com/atlassian-labs/atlaspack/commit/d98c992a56121a4f9f6a011ced5e103f96fe3999)]:
|
|
75
|
+
- @atlaspack/rust@3.13.0
|
|
76
|
+
- @atlaspack/feature-flags@2.27.2
|
|
77
|
+
- @atlaspack/utils@3.2.2
|
|
78
|
+
- @atlaspack/types-internal@2.21.2
|
|
79
|
+
- @atlaspack/graph@3.6.3
|
|
80
|
+
- @atlaspack/plugin@2.14.41
|
|
81
|
+
|
|
82
|
+
## 3.4.12
|
|
83
|
+
|
|
84
|
+
### Patch Changes
|
|
85
|
+
|
|
86
|
+
- [#881](https://github.com/atlassian-labs/atlaspack/pull/881) [`2f3af93`](https://github.com/atlassian-labs/atlaspack/commit/2f3af9374bcc082e6f4835f6f5a2b98e32ea45b4) Thanks [@marcins](https://github.com/marcins)! - Cleanup feature flag schemaValidationDeferSourceLoading
|
|
87
|
+
|
|
88
|
+
- Updated dependencies [[`a884bd2`](https://github.com/atlassian-labs/atlaspack/commit/a884bd2a6bd6f37d088fb886dd9b88e85328501b), [`25fee72`](https://github.com/atlassian-labs/atlaspack/commit/25fee723d2228d0482ec8a8f1b8379ccd2977ce7), [`6fac01d`](https://github.com/atlassian-labs/atlaspack/commit/6fac01dbb1bfc5b971176c1a1c008297bf4b8f91), [`2f3af93`](https://github.com/atlassian-labs/atlaspack/commit/2f3af9374bcc082e6f4835f6f5a2b98e32ea45b4), [`432d571`](https://github.com/atlassian-labs/atlaspack/commit/432d571ea4e9fc67be12304fcafe8c445e844174), [`042cd95`](https://github.com/atlassian-labs/atlaspack/commit/042cd95a32ad38cd02d57aa3344c36d4e7ab8f9c), [`28f5424`](https://github.com/atlassian-labs/atlaspack/commit/28f5424f7e2080dd4fbbeb1bc5314a530197a23e), [`a884bd2`](https://github.com/atlassian-labs/atlaspack/commit/a884bd2a6bd6f37d088fb886dd9b88e85328501b), [`5710532`](https://github.com/atlassian-labs/atlaspack/commit/57105322b26ce42af2cbfcc0506cff929e50b630), [`44eb8c3`](https://github.com/atlassian-labs/atlaspack/commit/44eb8c388d3e63f1ef5d835aee7aee5d1bb0620f)]:
|
|
89
|
+
- @atlaspack/rust@3.12.0
|
|
90
|
+
- @atlaspack/feature-flags@2.27.1
|
|
91
|
+
- @atlaspack/utils@3.2.1
|
|
92
|
+
- @atlaspack/graph@3.6.2
|
|
93
|
+
- @atlaspack/types-internal@2.21.1
|
|
94
|
+
- @atlaspack/plugin@2.14.40
|
|
95
|
+
|
|
96
|
+
## 3.4.11
|
|
97
|
+
|
|
98
|
+
### Patch Changes
|
|
99
|
+
|
|
100
|
+
- Updated dependencies [[`7dd5bd8`](https://github.com/atlassian-labs/atlaspack/commit/7dd5bd89ff60c7b324347d772729eb4c3314f01e), [`c8a0e51`](https://github.com/atlassian-labs/atlaspack/commit/c8a0e51b1096d038a64644ad02fe68383f58682a), [`8eb84ee`](https://github.com/atlassian-labs/atlaspack/commit/8eb84ee61a42bfe87c58079b610802b07a6a13e4), [`71900f3`](https://github.com/atlassian-labs/atlaspack/commit/71900f3508d53c3882ca8ea71501ba3069687d4e), [`73168c2`](https://github.com/atlassian-labs/atlaspack/commit/73168c275a5d9abff9907bcf536b340bca1ed5f0), [`617a318`](https://github.com/atlassian-labs/atlaspack/commit/617a318ddc9419b38360257353fec50b9051ee13), [`2c4953e`](https://github.com/atlassian-labs/atlaspack/commit/2c4953e20dc1a6b012792081667aefeb9340505e), [`3fe7d4e`](https://github.com/atlassian-labs/atlaspack/commit/3fe7d4e821bee162fcbbaf9278b107a5eead944f)]:
|
|
101
|
+
- @atlaspack/rust@3.11.0
|
|
102
|
+
- @atlaspack/types-internal@2.21.0
|
|
103
|
+
- @atlaspack/feature-flags@2.27.0
|
|
104
|
+
- @atlaspack/utils@3.2.0
|
|
105
|
+
- @atlaspack/graph@3.6.1
|
|
106
|
+
- @atlaspack/plugin@2.14.39
|
|
107
|
+
|
|
108
|
+
## 3.4.10
|
|
109
|
+
|
|
110
|
+
### Patch Changes
|
|
111
|
+
|
|
112
|
+
- Updated dependencies [[`ec3abe4`](https://github.com/atlassian-labs/atlaspack/commit/ec3abe4dffc98560a850fd2f71fb566577e6c99c), [`c7fe3f7`](https://github.com/atlassian-labs/atlaspack/commit/c7fe3f76f247e9e20299e205e2df0a16c418eaf2), [`cfb4707`](https://github.com/atlassian-labs/atlaspack/commit/cfb4707087498e4fa4dcf10753fe984a248d196b), [`1468695`](https://github.com/atlassian-labs/atlaspack/commit/1468695fc0c9d06f060a6da9e9b0e154f11dff34), [`f31b041`](https://github.com/atlassian-labs/atlaspack/commit/f31b04107e9077c9946aadb99f6f91bb69703bb7), [`8180981`](https://github.com/atlassian-labs/atlaspack/commit/8180981be14c00f9570adb70d3f350bd91d6ec0a), [`ae77e74`](https://github.com/atlassian-labs/atlaspack/commit/ae77e7452a466b43b3fa5bed24d4ba26345ed765), [`f0a496f`](https://github.com/atlassian-labs/atlaspack/commit/f0a496f70fc8652e090cf1b3f6260e8cfbb796e2), [`7d7a55d`](https://github.com/atlassian-labs/atlaspack/commit/7d7a55dd6395ec391a2e4c33b3dec0d1ea477d4c), [`540f253`](https://github.com/atlassian-labs/atlaspack/commit/540f253dfdcd1a5caebbdc0b197319d439404aae)]:
|
|
113
|
+
- @atlaspack/feature-flags@2.26.2
|
|
114
|
+
- @atlaspack/rust@3.10.0
|
|
115
|
+
- @atlaspack/graph@3.6.0
|
|
116
|
+
- @atlaspack/utils@3.1.2
|
|
117
|
+
- @atlaspack/types-internal@2.20.8
|
|
118
|
+
- @atlaspack/plugin@2.14.38
|
|
119
|
+
|
|
120
|
+
## 3.4.9
|
|
121
|
+
|
|
122
|
+
### Patch Changes
|
|
123
|
+
|
|
124
|
+
- Updated dependencies [[`339b600`](https://github.com/atlassian-labs/atlaspack/commit/339b60095d755742cea50f811d08ccc44a4ae521), [`373ee2d`](https://github.com/atlassian-labs/atlaspack/commit/373ee2d3b5cc315df1e90e647619f915892e2b87)]:
|
|
125
|
+
- @atlaspack/rust@3.9.1
|
|
126
|
+
- @atlaspack/feature-flags@2.26.1
|
|
127
|
+
- @atlaspack/utils@3.1.1
|
|
128
|
+
- @atlaspack/graph@3.5.26
|
|
129
|
+
- @atlaspack/types-internal@2.20.7
|
|
130
|
+
- @atlaspack/plugin@2.14.37
|
|
131
|
+
|
|
132
|
+
## 3.4.8
|
|
133
|
+
|
|
134
|
+
### Patch Changes
|
|
135
|
+
|
|
136
|
+
- [#852](https://github.com/atlassian-labs/atlaspack/pull/852) [`5776be2`](https://github.com/atlassian-labs/atlaspack/commit/5776be21f70a3f2b9471ba33da3ba1a883f21f1a) Thanks [@marcins](https://github.com/marcins)! - Support passing a function for source property in schema validation to allow for deferred reads of files
|
|
137
|
+
|
|
138
|
+
- Updated dependencies [[`02f6aa1`](https://github.com/atlassian-labs/atlaspack/commit/02f6aa1906953fc184d2b49c905c2ef815cb878d), [`58527ee`](https://github.com/atlassian-labs/atlaspack/commit/58527eec15c1aebaaadbeb63586f3082c16beae3), [`525898e`](https://github.com/atlassian-labs/atlaspack/commit/525898e33cc229a4bc938ae853732be36d20c01a), [`cfb39a0`](https://github.com/atlassian-labs/atlaspack/commit/cfb39a0d729eb620cf2ca1611750a2bf7a080d08), [`d0c7bea`](https://github.com/atlassian-labs/atlaspack/commit/d0c7bea04458255b4c5d4299600e734b5f919fe1), [`1086c6a`](https://github.com/atlassian-labs/atlaspack/commit/1086c6a2c59271b63b3fb78e6acdb9d3a0dbf354), [`9cd9521`](https://github.com/atlassian-labs/atlaspack/commit/9cd9521978f783046e2ae4ce78f2de7aeb07d073), [`5776be2`](https://github.com/atlassian-labs/atlaspack/commit/5776be21f70a3f2b9471ba33da3ba1a883f21f1a)]:
|
|
139
|
+
- @atlaspack/rust@3.9.0
|
|
140
|
+
- @atlaspack/feature-flags@2.26.0
|
|
141
|
+
- @atlaspack/utils@3.1.0
|
|
142
|
+
- @atlaspack/graph@3.5.25
|
|
143
|
+
- @atlaspack/types-internal@2.20.6
|
|
144
|
+
- @atlaspack/plugin@2.14.36
|
|
145
|
+
|
|
146
|
+
## 3.4.7
|
|
147
|
+
|
|
148
|
+
### Patch Changes
|
|
149
|
+
|
|
150
|
+
- Updated dependencies [[`79a7e22`](https://github.com/atlassian-labs/atlaspack/commit/79a7e22ef119891a2f4180a9d3cc66b38dd52092), [`3da8e69`](https://github.com/atlassian-labs/atlaspack/commit/3da8e690605472d81c531366b65fa9844f8ca337), [`c372f3f`](https://github.com/atlassian-labs/atlaspack/commit/c372f3fd6fce8200d5cf47f41bc7895c6cbb5558), [`17dfea9`](https://github.com/atlassian-labs/atlaspack/commit/17dfea9e9f3169807808520df9c09ebf70dc8b10), [`f1070ec`](https://github.com/atlassian-labs/atlaspack/commit/f1070ec48e99b4ec111a03179c5ab5b74163fab1), [`27fd73f`](https://github.com/atlassian-labs/atlaspack/commit/27fd73fa07d358653f1be6f2d15d72dc5d8fc2fd), [`3091fa3`](https://github.com/atlassian-labs/atlaspack/commit/3091fa36425ecffe3938e55247a035b08cda37a2)]:
|
|
151
|
+
- @atlaspack/feature-flags@2.25.5
|
|
152
|
+
- @atlaspack/rust@3.8.3
|
|
153
|
+
- @atlaspack/types-internal@2.20.5
|
|
154
|
+
- @atlaspack/utils@3.0.3
|
|
155
|
+
- @atlaspack/graph@3.5.24
|
|
156
|
+
- @atlaspack/plugin@2.14.35
|
|
157
|
+
|
|
158
|
+
## 3.4.6
|
|
159
|
+
|
|
160
|
+
### Patch Changes
|
|
161
|
+
|
|
162
|
+
- Updated dependencies [[`662d3c6`](https://github.com/atlassian-labs/atlaspack/commit/662d3c627888b16bf27df15cfac5a9094509e93d)]:
|
|
163
|
+
- @atlaspack/feature-flags@2.25.4
|
|
164
|
+
- @atlaspack/graph@3.5.23
|
|
165
|
+
- @atlaspack/types-internal@2.20.4
|
|
166
|
+
- @atlaspack/utils@3.0.2
|
|
167
|
+
- @atlaspack/plugin@2.14.34
|
|
168
|
+
|
|
169
|
+
## 3.4.5
|
|
170
|
+
|
|
171
|
+
### Patch Changes
|
|
172
|
+
|
|
173
|
+
- Updated dependencies [[`236e546`](https://github.com/atlassian-labs/atlaspack/commit/236e5465863dca6044a7191e05260a5b924c342e), [`f07351a`](https://github.com/atlassian-labs/atlaspack/commit/f07351a2398b6a8e5155a2daad77e69b7dcb2b4b)]:
|
|
174
|
+
- @atlaspack/utils@3.0.1
|
|
175
|
+
- @atlaspack/feature-flags@2.25.3
|
|
176
|
+
- @atlaspack/graph@3.5.22
|
|
177
|
+
- @atlaspack/types-internal@2.20.3
|
|
178
|
+
- @atlaspack/plugin@2.14.33
|
|
179
|
+
|
|
180
|
+
## 3.4.4
|
|
181
|
+
|
|
182
|
+
### Patch Changes
|
|
183
|
+
|
|
184
|
+
- Updated dependencies [[`0207171`](https://github.com/atlassian-labs/atlaspack/commit/0207171e59e985c51e105aec2e0a99de174374bd), [`10ee3fa`](https://github.com/atlassian-labs/atlaspack/commit/10ee3fa5b75a92acde8973673d9b3c5b6f3958e5), [`bbe4e28`](https://github.com/atlassian-labs/atlaspack/commit/bbe4e28c89e5e9284bd730075d4d6f2a3cb37b21), [`1180103`](https://github.com/atlassian-labs/atlaspack/commit/118010351ed444f8178988afb3f77807154dd933), [`2bc93b1`](https://github.com/atlassian-labs/atlaspack/commit/2bc93b17cea07fd7cbb68acec84d8471345a22b4)]:
|
|
185
|
+
- @atlaspack/feature-flags@2.25.2
|
|
186
|
+
- @atlaspack/rust@3.8.2
|
|
187
|
+
- @atlaspack/utils@3.0.0
|
|
188
|
+
- @atlaspack/graph@3.5.21
|
|
189
|
+
- @atlaspack/types-internal@2.20.2
|
|
190
|
+
- @atlaspack/plugin@2.14.32
|
|
191
|
+
|
|
192
|
+
## 3.4.3
|
|
193
|
+
|
|
194
|
+
### Patch Changes
|
|
195
|
+
|
|
196
|
+
- [#785](https://github.com/atlassian-labs/atlaspack/pull/785) [`0e7dd5e`](https://github.com/atlassian-labs/atlaspack/commit/0e7dd5ec6fbe05aa9e0bb5775a9d0975f206a922) Thanks [@matt-koko](https://github.com/matt-koko)! - We need to re-publish every package in Atlaspack with the corrected types field.
|
|
197
|
+
|
|
198
|
+
- Updated dependencies [[`0e7dd5e`](https://github.com/atlassian-labs/atlaspack/commit/0e7dd5ec6fbe05aa9e0bb5775a9d0975f206a922), [`686a398`](https://github.com/atlassian-labs/atlaspack/commit/686a398faa1f9e19cbf9274add2c46e246bafba8)]:
|
|
199
|
+
- @atlaspack/diagnostic@2.14.4
|
|
200
|
+
- @atlaspack/feature-flags@2.25.1
|
|
201
|
+
- @atlaspack/graph@3.5.20
|
|
202
|
+
- @atlaspack/plugin@2.14.31
|
|
203
|
+
- @atlaspack/rust@3.8.1
|
|
204
|
+
- @atlaspack/types-internal@2.20.1
|
|
205
|
+
- @atlaspack/utils@2.19.3
|
|
206
|
+
|
|
207
|
+
## 3.4.2
|
|
208
|
+
|
|
209
|
+
### Patch Changes
|
|
210
|
+
|
|
211
|
+
- Updated dependencies [[`7a52bab`](https://github.com/atlassian-labs/atlaspack/commit/7a52bab6281e8edbfa66af248eb6f872c6b4b7bd), [`eedcbc4`](https://github.com/atlassian-labs/atlaspack/commit/eedcbc408fc1e86a2a8e25f1a41c57146d8529e1), [`5a0363f`](https://github.com/atlassian-labs/atlaspack/commit/5a0363f1086e81068959b87e92064bed5a11a9b4), [`038e87a`](https://github.com/atlassian-labs/atlaspack/commit/038e87a7858d39556d59d3a2d17db534d45f62c6), [`f6532d7`](https://github.com/atlassian-labs/atlaspack/commit/f6532d7a4f7f007bd4e5e36af04dd466f0b9f572), [`0684997`](https://github.com/atlassian-labs/atlaspack/commit/0684997c127a6204af1376b36e556fddd1ba5557), [`602f8ed`](https://github.com/atlassian-labs/atlaspack/commit/602f8ed9d8381301df8b2cc82c1d5cf6f2f94fec)]:
|
|
212
|
+
- @atlaspack/feature-flags@2.25.0
|
|
213
|
+
- @atlaspack/types-internal@2.20.0
|
|
214
|
+
- @atlaspack/rust@3.8.0
|
|
215
|
+
- @atlaspack/graph@3.5.19
|
|
216
|
+
- @atlaspack/utils@2.19.2
|
|
217
|
+
- @atlaspack/plugin@2.14.30
|
|
218
|
+
|
|
219
|
+
## 3.4.1
|
|
220
|
+
|
|
221
|
+
### Patch Changes
|
|
222
|
+
|
|
223
|
+
- Updated dependencies [[`830261d`](https://github.com/atlassian-labs/atlaspack/commit/830261dcf4a40293090b61cab52fd75d5683c73f), [`53dd47b`](https://github.com/atlassian-labs/atlaspack/commit/53dd47bd6d23cd47f87297347f03a609ab38a03d)]:
|
|
224
|
+
- @atlaspack/feature-flags@2.24.1
|
|
225
|
+
- @atlaspack/rust@3.7.0
|
|
226
|
+
- @atlaspack/graph@3.5.18
|
|
227
|
+
- @atlaspack/types-internal@2.19.5
|
|
228
|
+
- @atlaspack/utils@2.19.1
|
|
229
|
+
- @atlaspack/plugin@2.14.29
|
|
230
|
+
|
|
231
|
+
## 3.4.0
|
|
232
|
+
|
|
233
|
+
### Minor Changes
|
|
234
|
+
|
|
235
|
+
- [#753](https://github.com/atlassian-labs/atlaspack/pull/753) [`f0349a6`](https://github.com/atlassian-labs/atlaspack/commit/f0349a6b9b04755088f121095ca6301a2ada3767) Thanks [@mattcompiles](https://github.com/mattcompiles)! - Add configurable async bundle merging and redundant shared bundle removal behind a feature flag.
|
|
236
|
+
|
|
237
|
+
### Patch Changes
|
|
238
|
+
|
|
239
|
+
- [#761](https://github.com/atlassian-labs/atlaspack/pull/761) [`8843980`](https://github.com/atlassian-labs/atlaspack/commit/88439807be20025fd3433380204ff1205079729e) Thanks [@marcins](https://github.com/marcins)! - Adds a new feature flag `singleFileOutputStableName` - when enabled, bundles produced by the experimental single file output bundler will have stable names (i.e. no hash).
|
|
240
|
+
|
|
241
|
+
- Updated dependencies [[`f0349a6`](https://github.com/atlassian-labs/atlaspack/commit/f0349a6b9b04755088f121095ca6301a2ada3767), [`a5081c3`](https://github.com/atlassian-labs/atlaspack/commit/a5081c3f9207d28716ee4edd3841de1830ea4b80), [`f930003`](https://github.com/atlassian-labs/atlaspack/commit/f930003364fdc31e5487520ebe256f1a9389f579), [`f930003`](https://github.com/atlassian-labs/atlaspack/commit/f930003364fdc31e5487520ebe256f1a9389f579), [`8843980`](https://github.com/atlassian-labs/atlaspack/commit/88439807be20025fd3433380204ff1205079729e)]:
|
|
242
|
+
- @atlaspack/feature-flags@2.24.0
|
|
243
|
+
- @atlaspack/utils@2.19.0
|
|
244
|
+
- @atlaspack/graph@3.5.17
|
|
245
|
+
- @atlaspack/types-internal@2.19.4
|
|
246
|
+
- @atlaspack/plugin@2.14.28
|
|
247
|
+
|
|
248
|
+
## 3.3.4
|
|
249
|
+
|
|
250
|
+
### Patch Changes
|
|
251
|
+
|
|
252
|
+
- Updated dependencies [[`3cfb7cf`](https://github.com/atlassian-labs/atlaspack/commit/3cfb7cfd90b78a5c48ce717e779ff789769825a3)]:
|
|
253
|
+
- @atlaspack/feature-flags@2.23.2
|
|
254
|
+
- @atlaspack/rust@3.6.2
|
|
255
|
+
- @atlaspack/graph@3.5.16
|
|
256
|
+
- @atlaspack/types-internal@2.19.3
|
|
257
|
+
- @atlaspack/utils@2.18.4
|
|
258
|
+
- @atlaspack/plugin@2.14.27
|
|
259
|
+
|
|
260
|
+
## 3.3.3
|
|
261
|
+
|
|
262
|
+
### Patch Changes
|
|
263
|
+
|
|
264
|
+
- [#742](https://github.com/atlassian-labs/atlaspack/pull/742) [`ee040bb`](https://github.com/atlassian-labs/atlaspack/commit/ee040bb6428f29b57d892ddd8107e29077d08ffd) Thanks [@yamadapc](https://github.com/yamadapc)! - Internal changes and bug fixes to environmentDeduplication flag
|
|
265
|
+
|
|
266
|
+
- Updated dependencies [[`ee040bb`](https://github.com/atlassian-labs/atlaspack/commit/ee040bb6428f29b57d892ddd8107e29077d08ffd), [`889c65c`](https://github.com/atlassian-labs/atlaspack/commit/889c65cd25b811045e26a117e7404f694dde77a2)]:
|
|
267
|
+
- @atlaspack/types-internal@2.19.2
|
|
268
|
+
- @atlaspack/feature-flags@2.23.1
|
|
269
|
+
- @atlaspack/diagnostic@2.14.3
|
|
270
|
+
- @atlaspack/plugin@2.14.26
|
|
271
|
+
- @atlaspack/graph@3.5.15
|
|
272
|
+
- @atlaspack/utils@2.18.3
|
|
273
|
+
- @atlaspack/rust@3.6.1
|
|
274
|
+
|
|
275
|
+
## 3.3.2
|
|
276
|
+
|
|
277
|
+
### Patch Changes
|
|
278
|
+
|
|
279
|
+
- Updated dependencies [[`f6b3f22`](https://github.com/atlassian-labs/atlaspack/commit/f6b3f2276c7e417580b49c4879563aab51f156b1)]:
|
|
280
|
+
- @atlaspack/feature-flags@2.23.0
|
|
281
|
+
- @atlaspack/graph@3.5.14
|
|
282
|
+
- @atlaspack/types-internal@2.19.1
|
|
283
|
+
- @atlaspack/utils@2.18.2
|
|
284
|
+
- @atlaspack/plugin@2.14.25
|
|
285
|
+
|
|
286
|
+
## 3.3.1
|
|
287
|
+
|
|
288
|
+
### Patch Changes
|
|
289
|
+
|
|
290
|
+
- Updated dependencies [[`ad26146`](https://github.com/atlassian-labs/atlaspack/commit/ad26146f13b4c1cc65d4a0f9c67060b90ef14ff3), [`f1b48e7`](https://github.com/atlassian-labs/atlaspack/commit/f1b48e7a04e005cef0f36a3e692087a9ecdb6f7a), [`7f5841c`](https://github.com/atlassian-labs/atlaspack/commit/7f5841c39df049f9546cccbeea2a7337e0337b45), [`73dd7ba`](https://github.com/atlassian-labs/atlaspack/commit/73dd7baab69456ef2f6e4a0cc7dbb04f407eb148)]:
|
|
291
|
+
- @atlaspack/rust@3.6.0
|
|
292
|
+
- @atlaspack/types-internal@2.19.0
|
|
293
|
+
- @atlaspack/feature-flags@2.22.0
|
|
294
|
+
- @atlaspack/utils@2.18.1
|
|
295
|
+
- @atlaspack/graph@3.5.13
|
|
296
|
+
- @atlaspack/plugin@2.14.24
|
|
297
|
+
|
|
298
|
+
## 3.3.0
|
|
299
|
+
|
|
300
|
+
### Minor Changes
|
|
301
|
+
|
|
302
|
+
- [#731](https://github.com/atlassian-labs/atlaspack/pull/731) [`23d561e`](https://github.com/atlassian-labs/atlaspack/commit/23d561e51e68b0c38fd1ff4e4fb173e5e7b01cf2) Thanks [@marcins](https://github.com/marcins)! - Implement "inline isolated" scripts
|
|
303
|
+
|
|
304
|
+
### Patch Changes
|
|
305
|
+
|
|
306
|
+
- Updated dependencies [[`23d561e`](https://github.com/atlassian-labs/atlaspack/commit/23d561e51e68b0c38fd1ff4e4fb173e5e7b01cf2)]:
|
|
307
|
+
- @atlaspack/feature-flags@2.21.0
|
|
308
|
+
- @atlaspack/utils@2.18.0
|
|
309
|
+
- @atlaspack/rust@3.5.0
|
|
310
|
+
- @atlaspack/graph@3.5.12
|
|
311
|
+
- @atlaspack/plugin@2.14.23
|
|
312
|
+
|
|
313
|
+
## 3.2.1
|
|
314
|
+
|
|
315
|
+
### Patch Changes
|
|
316
|
+
|
|
317
|
+
- [#720](https://github.com/atlassian-labs/atlaspack/pull/720) [`d2fd849`](https://github.com/atlassian-labs/atlaspack/commit/d2fd849770fe6305e9c694bd97b1bd905abd9d94) Thanks [@alshdavid](https://github.com/alshdavid)! - Migrate to TypeScript
|
|
318
|
+
|
|
319
|
+
- Updated dependencies [[`d2fd849`](https://github.com/atlassian-labs/atlaspack/commit/d2fd849770fe6305e9c694bd97b1bd905abd9d94), [`12bee0e`](https://github.com/atlassian-labs/atlaspack/commit/12bee0e23f0464d7f6bd3e24fbe0d19c126d587d)]:
|
|
320
|
+
- @atlaspack/feature-flags@2.20.1
|
|
321
|
+
- @atlaspack/diagnostic@2.14.2
|
|
322
|
+
- @atlaspack/plugin@2.14.22
|
|
323
|
+
- @atlaspack/graph@3.5.11
|
|
324
|
+
- @atlaspack/utils@2.17.4
|
|
325
|
+
- @atlaspack/rust@3.4.2
|
|
326
|
+
|
|
327
|
+
## 3.2.0
|
|
328
|
+
|
|
329
|
+
### Minor Changes
|
|
330
|
+
|
|
331
|
+
- [#721](https://github.com/atlassian-labs/atlaspack/pull/721) [`069de47`](https://github.com/atlassian-labs/atlaspack/commit/069de478e64fb5889f6f2ce023eb510782767fbd) Thanks [@benjervis](https://github.com/benjervis)! - Add support for bundle merging based on `webpackChunkName` comments.
|
|
332
|
+
|
|
333
|
+
Adding a `webpackChunkName` comment to an import will allow the bundler to merge multiple imports into a single bundle.
|
|
334
|
+
|
|
335
|
+
e.g.:
|
|
336
|
+
|
|
337
|
+
```ts
|
|
338
|
+
import(/* webpackChunkName: "my-chunk" */ './my-module');
|
|
339
|
+
import(/* webpackChunkName: "my-chunk" */ './another-module');
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
This can be enabled with the feature flag `supportWebpackChunkName`.
|
|
343
|
+
|
|
344
|
+
### Patch Changes
|
|
345
|
+
|
|
346
|
+
- Updated dependencies [[`069de47`](https://github.com/atlassian-labs/atlaspack/commit/069de478e64fb5889f6f2ce023eb510782767fbd)]:
|
|
347
|
+
- @atlaspack/feature-flags@2.20.0
|
|
348
|
+
- @atlaspack/graph@3.5.10
|
|
349
|
+
- @atlaspack/utils@2.17.3
|
|
350
|
+
- @atlaspack/plugin@2.14.21
|
|
351
|
+
|
|
352
|
+
## 3.1.2
|
|
353
|
+
|
|
354
|
+
### Patch Changes
|
|
355
|
+
|
|
356
|
+
- [#702](https://github.com/atlassian-labs/atlaspack/pull/702) [`daaa768`](https://github.com/atlassian-labs/atlaspack/commit/daaa7688786772d7e3713b71c5bba6b89ec704aa) Thanks [@alshdavid](https://github.com/alshdavid)! - Fixes to Flow types
|
|
357
|
+
|
|
358
|
+
- Updated dependencies [[`daaa768`](https://github.com/atlassian-labs/atlaspack/commit/daaa7688786772d7e3713b71c5bba6b89ec704aa), [`1c7865a`](https://github.com/atlassian-labs/atlaspack/commit/1c7865a64451116d94015e248302435839d347c0), [`a0b959f`](https://github.com/atlassian-labs/atlaspack/commit/a0b959fbf61fc3f820ff03c7e8988945fe40a91a)]:
|
|
359
|
+
- @atlaspack/plugin@2.14.20
|
|
360
|
+
- @atlaspack/feature-flags@2.19.2
|
|
361
|
+
- @atlaspack/graph@3.5.9
|
|
362
|
+
- @atlaspack/utils@2.17.2
|
|
363
|
+
|
|
364
|
+
## 3.1.1
|
|
365
|
+
|
|
366
|
+
### Patch Changes
|
|
367
|
+
|
|
368
|
+
- Updated dependencies [[`13aef17`](https://github.com/atlassian-labs/atlaspack/commit/13aef177eea289a6e40d2113b5ec1ac9be18a33d)]:
|
|
369
|
+
- @atlaspack/feature-flags@2.19.1
|
|
370
|
+
- @atlaspack/graph@3.5.8
|
|
371
|
+
- @atlaspack/utils@2.17.1
|
|
372
|
+
- @atlaspack/plugin@2.14.19
|
|
373
|
+
|
|
374
|
+
## 3.1.0
|
|
375
|
+
|
|
376
|
+
### Minor Changes
|
|
377
|
+
|
|
378
|
+
- [#640](https://github.com/atlassian-labs/atlaspack/pull/640) [`dbb4072`](https://github.com/atlassian-labs/atlaspack/commit/dbb40721ebeb45990a14ba04e6b44e7f836fb32d) Thanks [@JakeLane](https://github.com/JakeLane)! - Clean up conditional bundling feature flags
|
|
379
|
+
|
|
380
|
+
### Patch Changes
|
|
381
|
+
|
|
382
|
+
- Updated dependencies [[`dbb4072`](https://github.com/atlassian-labs/atlaspack/commit/dbb40721ebeb45990a14ba04e6b44e7f836fb32d), [`becf977`](https://github.com/atlassian-labs/atlaspack/commit/becf977f625d5ee46dae3d4c679f173bf5f40cc0), [`becf977`](https://github.com/atlassian-labs/atlaspack/commit/becf977f625d5ee46dae3d4c679f173bf5f40cc0), [`c4415a4`](https://github.com/atlassian-labs/atlaspack/commit/c4415a455543d984ca28452c2cb87a794d22497c), [`f0f7c71`](https://github.com/atlassian-labs/atlaspack/commit/f0f7c7168a1d3d18c6f30d2daed611275692b7c5), [`de23e0c`](https://github.com/atlassian-labs/atlaspack/commit/de23e0ce49d5504fe3947ac26640a3d951087da3), [`18a57cf`](https://github.com/atlassian-labs/atlaspack/commit/18a57cf8a4789b2de5ad8e2676f317a26cc91417), [`a5ed1b4`](https://github.com/atlassian-labs/atlaspack/commit/a5ed1b414498560f393ff491af4da25b6e8dde56)]:
|
|
383
|
+
- @atlaspack/feature-flags@2.19.0
|
|
384
|
+
- @atlaspack/utils@2.17.0
|
|
385
|
+
- @atlaspack/rust@3.4.1
|
|
386
|
+
- @atlaspack/graph@3.5.7
|
|
387
|
+
- @atlaspack/plugin@2.14.18
|
|
388
|
+
|
|
389
|
+
## 3.0.8
|
|
390
|
+
|
|
391
|
+
### Patch Changes
|
|
392
|
+
|
|
393
|
+
- Updated dependencies [[`c75bf55`](https://github.com/atlassian-labs/atlaspack/commit/c75bf553fff4decc285b5fd499a275853b18f8f2)]:
|
|
394
|
+
- @atlaspack/rust@3.4.0
|
|
395
|
+
- @atlaspack/utils@2.16.1
|
|
396
|
+
- @atlaspack/plugin@2.14.17
|
|
397
|
+
|
|
398
|
+
## 3.0.7
|
|
399
|
+
|
|
400
|
+
### Patch Changes
|
|
401
|
+
|
|
402
|
+
- Updated dependencies [[`e8a60ff`](https://github.com/atlassian-labs/atlaspack/commit/e8a60ffbea41caef265786bbf73349771760081c), [`30ee2cf`](https://github.com/atlassian-labs/atlaspack/commit/30ee2cfcd34cf2646ded0eda13fdb80a2a5de529)]:
|
|
403
|
+
- @atlaspack/feature-flags@2.18.4
|
|
404
|
+
- @atlaspack/utils@2.16.0
|
|
405
|
+
- @atlaspack/graph@3.5.6
|
|
406
|
+
- @atlaspack/plugin@2.14.16
|
|
407
|
+
|
|
408
|
+
## 3.0.6
|
|
409
|
+
|
|
410
|
+
### Patch Changes
|
|
411
|
+
|
|
412
|
+
- Updated dependencies [[`5ded263`](https://github.com/atlassian-labs/atlaspack/commit/5ded263c7f11b866e8885b81c73e20dd060b25be)]:
|
|
413
|
+
- @atlaspack/feature-flags@2.18.3
|
|
414
|
+
- @atlaspack/graph@3.5.5
|
|
415
|
+
- @atlaspack/utils@2.15.3
|
|
416
|
+
- @atlaspack/plugin@2.14.15
|
|
417
|
+
|
|
418
|
+
## 3.0.5
|
|
419
|
+
|
|
420
|
+
### Patch Changes
|
|
421
|
+
|
|
422
|
+
- Updated dependencies [[`644b157`](https://github.com/atlassian-labs/atlaspack/commit/644b157dee72a871acc2d0facf0b87b8eea51956)]:
|
|
423
|
+
- @atlaspack/feature-flags@2.18.2
|
|
424
|
+
- @atlaspack/graph@3.5.4
|
|
425
|
+
- @atlaspack/utils@2.15.2
|
|
426
|
+
- @atlaspack/plugin@2.14.14
|
|
427
|
+
|
|
428
|
+
## 3.0.4
|
|
429
|
+
|
|
430
|
+
### Patch Changes
|
|
431
|
+
|
|
432
|
+
- Updated dependencies [[`26aa9c5`](https://github.com/atlassian-labs/atlaspack/commit/26aa9c599d2be45ce1438a74c5fa22f39b9b554b), [`0501255`](https://github.com/atlassian-labs/atlaspack/commit/05012550da35b05ce7d356a8cc29311e7f9afdca)]:
|
|
433
|
+
- @atlaspack/feature-flags@2.18.1
|
|
434
|
+
- @atlaspack/utils@2.15.1
|
|
435
|
+
- @atlaspack/graph@3.5.3
|
|
436
|
+
- @atlaspack/plugin@2.14.13
|
|
437
|
+
|
|
438
|
+
## 3.0.3
|
|
439
|
+
|
|
440
|
+
### Patch Changes
|
|
441
|
+
|
|
442
|
+
- [#622](https://github.com/atlassian-labs/atlaspack/pull/622) [`e39c6cf`](https://github.com/atlassian-labs/atlaspack/commit/e39c6cf05f7e95ce5420dbcea66f401b1cbd397c) Thanks [@benjervis](https://github.com/benjervis)! - Change the overlap calculation system in findMergeCandidates to improve performance
|
|
443
|
+
|
|
444
|
+
- Updated dependencies [[`10fbcfb`](https://github.com/atlassian-labs/atlaspack/commit/10fbcfbfa49c7a83da5d7c40983e36e87f524a75), [`85c52d3`](https://github.com/atlassian-labs/atlaspack/commit/85c52d3f7717b3c84a118d18ab98cfbfd71dcbd2), [`e39c6cf`](https://github.com/atlassian-labs/atlaspack/commit/e39c6cf05f7e95ce5420dbcea66f401b1cbd397c)]:
|
|
445
|
+
- @atlaspack/feature-flags@2.18.0
|
|
446
|
+
- @atlaspack/utils@2.15.0
|
|
447
|
+
- @atlaspack/graph@3.5.2
|
|
448
|
+
- @atlaspack/plugin@2.14.12
|
|
449
|
+
|
|
450
|
+
## 3.0.2
|
|
451
|
+
|
|
452
|
+
### Patch Changes
|
|
453
|
+
|
|
454
|
+
- [#613](https://github.com/atlassian-labs/atlaspack/pull/613) [`4ca19d8`](https://github.com/atlassian-labs/atlaspack/commit/4ca19d8060dfcd279183e4039f2ecb43334ac44c) Thanks [@marcins](https://github.com/marcins)! - Ensure that constant modules are correctly included in MSBs even if they wouldn't otherwise be.
|
|
455
|
+
|
|
456
|
+
- Updated dependencies [[`73ea3c4`](https://github.com/atlassian-labs/atlaspack/commit/73ea3c4d85d4401fdd15abcbf988237e890e7ad3), [`b1b3693`](https://github.com/atlassian-labs/atlaspack/commit/b1b369317c66f8a431c170df2ebba4fa5b2e38ef)]:
|
|
457
|
+
- @atlaspack/feature-flags@2.17.0
|
|
458
|
+
- @atlaspack/graph@3.5.1
|
|
459
|
+
- @atlaspack/utils@2.14.11
|
|
460
|
+
- @atlaspack/plugin@2.14.11
|
|
461
|
+
|
|
462
|
+
## 3.0.1
|
|
463
|
+
|
|
464
|
+
### Patch Changes
|
|
465
|
+
|
|
466
|
+
- [#608](https://github.com/atlassian-labs/atlaspack/pull/608) [`471b99e`](https://github.com/atlassian-labs/atlaspack/commit/471b99e41b4d97328c88f65e90bea284372cb1b0) Thanks [@mattcompiles](https://github.com/mattcompiles)! - Fix require of ES Module error
|
|
467
|
+
|
|
468
|
+
## 3.0.0
|
|
469
|
+
|
|
470
|
+
### Major Changes
|
|
471
|
+
|
|
472
|
+
- [#600](https://github.com/atlassian-labs/atlaspack/pull/600) [`1b52b99`](https://github.com/atlassian-labs/atlaspack/commit/1b52b99db4298b04c1a6eb0f97994d75a2d436f9) Thanks [@mattcompiles](https://github.com/mattcompiles)! - ### Breaking change
|
|
473
|
+
|
|
474
|
+
This new config replaces the previously released `sharedBundleMergeThreshold`.
|
|
475
|
+
|
|
476
|
+
The following options are available for each merge group.
|
|
477
|
+
|
|
478
|
+
### Options
|
|
479
|
+
|
|
480
|
+
#### overlapThreshold
|
|
481
|
+
|
|
482
|
+
> The same as `sharedBundleMergeThreshold` from #535
|
|
483
|
+
|
|
484
|
+
Merge bundles share a percentage of source bundles
|
|
485
|
+
|
|
486
|
+
```json
|
|
487
|
+
"@atlaspack/bundler-default": {
|
|
488
|
+
"sharedBundleMerge": [{
|
|
489
|
+
"overlapThreshold": 0.75
|
|
490
|
+
}]
|
|
491
|
+
}
|
|
492
|
+
```
|
|
493
|
+
|
|
494
|
+
#### maxBundleSize
|
|
495
|
+
|
|
496
|
+
Merge bundles that are smaller than a configured amount of bytes.
|
|
497
|
+
|
|
498
|
+
> Keep in mind these bytes are pre-optimisation
|
|
499
|
+
|
|
500
|
+
```json
|
|
501
|
+
"@atlaspack/bundler-default": {
|
|
502
|
+
"sharedBundleMerge": [{
|
|
503
|
+
"maxBundleSize": 20000
|
|
504
|
+
}]
|
|
505
|
+
}
|
|
506
|
+
```
|
|
507
|
+
|
|
508
|
+
#### sourceBundles
|
|
509
|
+
|
|
510
|
+
Merge bundles that share a set of source bundles. The matching is relative to the project root, like how manual shared bundle roots work.
|
|
511
|
+
|
|
512
|
+
```json
|
|
513
|
+
"@atlaspack/bundler-default": {
|
|
514
|
+
"sharedBundleMerge": [{
|
|
515
|
+
"sourceBundles": ["src/important-route", "src/important-route-2"]
|
|
516
|
+
}]
|
|
517
|
+
}
|
|
518
|
+
```
|
|
519
|
+
|
|
520
|
+
#### minBundlesInGroup
|
|
521
|
+
|
|
522
|
+
Merge bundles that belong to a bundle group that's larger than a set amount. This is useful for targetting bundles that would be deleted by the `maxParallelRequests` option.
|
|
523
|
+
|
|
524
|
+
```json
|
|
525
|
+
"@atlaspack/bundler-default": {
|
|
526
|
+
"maxParallelRequests": 30,
|
|
527
|
+
"sharedBundleMerge": [{
|
|
528
|
+
"minBundlesInGroup": 30
|
|
529
|
+
}]
|
|
530
|
+
}
|
|
531
|
+
```
|
|
532
|
+
|
|
533
|
+
## Combining options
|
|
534
|
+
|
|
535
|
+
When multiple options are provided, all must be true for a merge to be relevant.
|
|
536
|
+
|
|
537
|
+
For example, merge bundles that are smaller than 20kb and share at least 50% of the same source bundles.
|
|
538
|
+
|
|
539
|
+
```json
|
|
540
|
+
"@atlaspack/bundler-default": {
|
|
541
|
+
"sharedBundleMerge": [{
|
|
542
|
+
"overlapThreshold": 0.5,
|
|
543
|
+
"maxBundleSize": 20000
|
|
544
|
+
}]
|
|
545
|
+
}
|
|
546
|
+
```
|
|
547
|
+
|
|
548
|
+
## Multiple merges
|
|
549
|
+
|
|
550
|
+
You can also have multiple merge configs.
|
|
551
|
+
|
|
552
|
+
```json
|
|
553
|
+
"@atlaspack/bundler-default": {
|
|
554
|
+
"sharedBundleMerge": [
|
|
555
|
+
{
|
|
556
|
+
"overlapThreshold": 0.75,
|
|
557
|
+
"maxBundleSize": 20000
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"minBundlesInGroup": 30
|
|
561
|
+
"sourceBundles": ["src/important-route", "src/important-route-2"]
|
|
562
|
+
}
|
|
563
|
+
]
|
|
564
|
+
}
|
|
565
|
+
```
|
|
566
|
+
|
|
567
|
+
### Patch Changes
|
|
568
|
+
|
|
569
|
+
- Updated dependencies [[`1b52b99`](https://github.com/atlassian-labs/atlaspack/commit/1b52b99db4298b04c1a6eb0f97994d75a2d436f9)]:
|
|
570
|
+
- @atlaspack/graph@3.5.0
|
|
571
|
+
|
|
572
|
+
## 2.16.3
|
|
573
|
+
|
|
574
|
+
### Patch Changes
|
|
575
|
+
|
|
576
|
+
- Updated dependencies [[`35fdd4b`](https://github.com/atlassian-labs/atlaspack/commit/35fdd4b52da0af20f74667f7b8adfb2f90279b7c), [`6dd4ccb`](https://github.com/atlassian-labs/atlaspack/commit/6dd4ccb753541de32322d881f973d571dd57e4ca)]:
|
|
577
|
+
- @atlaspack/rust@3.3.5
|
|
578
|
+
- @atlaspack/plugin@2.14.10
|
|
579
|
+
- @atlaspack/utils@2.14.10
|
|
580
|
+
|
|
581
|
+
## 2.16.2
|
|
582
|
+
|
|
583
|
+
### Patch Changes
|
|
584
|
+
|
|
585
|
+
- Updated dependencies [[`124b7ff`](https://github.com/atlassian-labs/atlaspack/commit/124b7fff44f71aac9fbad289a9a9509b3dfc9aaa), [`e052521`](https://github.com/atlassian-labs/atlaspack/commit/e0525210850ed1606146eb86991049cf567c5dec), [`15c6d70`](https://github.com/atlassian-labs/atlaspack/commit/15c6d7000bd89da876bc590aa75b17a619a41896), [`e4d966c`](https://github.com/atlassian-labs/atlaspack/commit/e4d966c3c9c4292c5013372ae65b10d19d4bacc6), [`209692f`](https://github.com/atlassian-labs/atlaspack/commit/209692ffb11eae103a0d65c5e1118a5aa1625818), [`42a775d`](https://github.com/atlassian-labs/atlaspack/commit/42a775de8eec638ad188f3271964170d8c04d84b), [`29c2f10`](https://github.com/atlassian-labs/atlaspack/commit/29c2f106de9679adfb5afa04e1910471dc65a427), [`f4da1e1`](https://github.com/atlassian-labs/atlaspack/commit/f4da1e120e73eeb5e8b8927f05e88f04d6148c7b), [`1ef91fc`](https://github.com/atlassian-labs/atlaspack/commit/1ef91fcc863fdd2831511937083dbbc1263b3d9d)]:
|
|
586
|
+
- @atlaspack/rust@3.3.4
|
|
587
|
+
- @atlaspack/feature-flags@2.16.0
|
|
588
|
+
- @atlaspack/utils@2.14.9
|
|
589
|
+
- @atlaspack/graph@3.4.7
|
|
590
|
+
- @atlaspack/plugin@2.14.9
|
|
591
|
+
|
|
3
592
|
## 2.16.1
|
|
4
593
|
|
|
5
594
|
### Patch Changes
|