@atlaspack/bundler-default 2.14.5-canary.2 → 2.14.5-canary.200

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 CHANGED
@@ -1,5 +1,473 @@
1
1
  # @atlaspack/bundler-default
2
2
 
3
+ ## 3.4.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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.
8
+
9
+ - Updated dependencies [[`0e7dd5e`](https://github.com/atlassian-labs/atlaspack/commit/0e7dd5ec6fbe05aa9e0bb5775a9d0975f206a922), [`686a398`](https://github.com/atlassian-labs/atlaspack/commit/686a398faa1f9e19cbf9274add2c46e246bafba8)]:
10
+ - @atlaspack/diagnostic@2.14.4
11
+ - @atlaspack/feature-flags@2.25.1
12
+ - @atlaspack/graph@3.5.20
13
+ - @atlaspack/plugin@2.14.31
14
+ - @atlaspack/rust@3.8.1
15
+ - @atlaspack/types-internal@2.20.1
16
+ - @atlaspack/utils@2.19.3
17
+
18
+ ## 3.4.2
19
+
20
+ ### Patch Changes
21
+
22
+ - 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)]:
23
+ - @atlaspack/feature-flags@2.25.0
24
+ - @atlaspack/types-internal@2.20.0
25
+ - @atlaspack/rust@3.8.0
26
+ - @atlaspack/graph@3.5.19
27
+ - @atlaspack/utils@2.19.2
28
+ - @atlaspack/plugin@2.14.30
29
+
30
+ ## 3.4.1
31
+
32
+ ### Patch Changes
33
+
34
+ - Updated dependencies [[`830261d`](https://github.com/atlassian-labs/atlaspack/commit/830261dcf4a40293090b61cab52fd75d5683c73f), [`53dd47b`](https://github.com/atlassian-labs/atlaspack/commit/53dd47bd6d23cd47f87297347f03a609ab38a03d)]:
35
+ - @atlaspack/feature-flags@2.24.1
36
+ - @atlaspack/rust@3.7.0
37
+ - @atlaspack/graph@3.5.18
38
+ - @atlaspack/types-internal@2.19.5
39
+ - @atlaspack/utils@2.19.1
40
+ - @atlaspack/plugin@2.14.29
41
+
42
+ ## 3.4.0
43
+
44
+ ### Minor Changes
45
+
46
+ - [#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.
47
+
48
+ ### Patch Changes
49
+
50
+ - [#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).
51
+
52
+ - 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)]:
53
+ - @atlaspack/feature-flags@2.24.0
54
+ - @atlaspack/utils@2.19.0
55
+ - @atlaspack/graph@3.5.17
56
+ - @atlaspack/types-internal@2.19.4
57
+ - @atlaspack/plugin@2.14.28
58
+
59
+ ## 3.3.4
60
+
61
+ ### Patch Changes
62
+
63
+ - Updated dependencies [[`3cfb7cf`](https://github.com/atlassian-labs/atlaspack/commit/3cfb7cfd90b78a5c48ce717e779ff789769825a3)]:
64
+ - @atlaspack/feature-flags@2.23.2
65
+ - @atlaspack/rust@3.6.2
66
+ - @atlaspack/graph@3.5.16
67
+ - @atlaspack/types-internal@2.19.3
68
+ - @atlaspack/utils@2.18.4
69
+ - @atlaspack/plugin@2.14.27
70
+
71
+ ## 3.3.3
72
+
73
+ ### Patch Changes
74
+
75
+ - [#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
76
+
77
+ - Updated dependencies [[`ee040bb`](https://github.com/atlassian-labs/atlaspack/commit/ee040bb6428f29b57d892ddd8107e29077d08ffd), [`889c65c`](https://github.com/atlassian-labs/atlaspack/commit/889c65cd25b811045e26a117e7404f694dde77a2)]:
78
+ - @atlaspack/types-internal@2.19.2
79
+ - @atlaspack/feature-flags@2.23.1
80
+ - @atlaspack/diagnostic@2.14.3
81
+ - @atlaspack/plugin@2.14.26
82
+ - @atlaspack/graph@3.5.15
83
+ - @atlaspack/utils@2.18.3
84
+ - @atlaspack/rust@3.6.1
85
+
86
+ ## 3.3.2
87
+
88
+ ### Patch Changes
89
+
90
+ - Updated dependencies [[`f6b3f22`](https://github.com/atlassian-labs/atlaspack/commit/f6b3f2276c7e417580b49c4879563aab51f156b1)]:
91
+ - @atlaspack/feature-flags@2.23.0
92
+ - @atlaspack/graph@3.5.14
93
+ - @atlaspack/types-internal@2.19.1
94
+ - @atlaspack/utils@2.18.2
95
+ - @atlaspack/plugin@2.14.25
96
+
97
+ ## 3.3.1
98
+
99
+ ### Patch Changes
100
+
101
+ - 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)]:
102
+ - @atlaspack/rust@3.6.0
103
+ - @atlaspack/types-internal@2.19.0
104
+ - @atlaspack/feature-flags@2.22.0
105
+ - @atlaspack/utils@2.18.1
106
+ - @atlaspack/graph@3.5.13
107
+ - @atlaspack/plugin@2.14.24
108
+
109
+ ## 3.3.0
110
+
111
+ ### Minor Changes
112
+
113
+ - [#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
114
+
115
+ ### Patch Changes
116
+
117
+ - Updated dependencies [[`23d561e`](https://github.com/atlassian-labs/atlaspack/commit/23d561e51e68b0c38fd1ff4e4fb173e5e7b01cf2)]:
118
+ - @atlaspack/feature-flags@2.21.0
119
+ - @atlaspack/utils@2.18.0
120
+ - @atlaspack/rust@3.5.0
121
+ - @atlaspack/graph@3.5.12
122
+ - @atlaspack/plugin@2.14.23
123
+
124
+ ## 3.2.1
125
+
126
+ ### Patch Changes
127
+
128
+ - [#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
129
+
130
+ - Updated dependencies [[`d2fd849`](https://github.com/atlassian-labs/atlaspack/commit/d2fd849770fe6305e9c694bd97b1bd905abd9d94), [`12bee0e`](https://github.com/atlassian-labs/atlaspack/commit/12bee0e23f0464d7f6bd3e24fbe0d19c126d587d)]:
131
+ - @atlaspack/feature-flags@2.20.1
132
+ - @atlaspack/diagnostic@2.14.2
133
+ - @atlaspack/plugin@2.14.22
134
+ - @atlaspack/graph@3.5.11
135
+ - @atlaspack/utils@2.17.4
136
+ - @atlaspack/rust@3.4.2
137
+
138
+ ## 3.2.0
139
+
140
+ ### Minor Changes
141
+
142
+ - [#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.
143
+
144
+ Adding a `webpackChunkName` comment to an import will allow the bundler to merge multiple imports into a single bundle.
145
+
146
+ e.g.:
147
+
148
+ ```ts
149
+ import(/* webpackChunkName: "my-chunk" */ './my-module');
150
+ import(/* webpackChunkName: "my-chunk" */ './another-module');
151
+ ```
152
+
153
+ This can be enabled with the feature flag `supportWebpackChunkName`.
154
+
155
+ ### Patch Changes
156
+
157
+ - Updated dependencies [[`069de47`](https://github.com/atlassian-labs/atlaspack/commit/069de478e64fb5889f6f2ce023eb510782767fbd)]:
158
+ - @atlaspack/feature-flags@2.20.0
159
+ - @atlaspack/graph@3.5.10
160
+ - @atlaspack/utils@2.17.3
161
+ - @atlaspack/plugin@2.14.21
162
+
163
+ ## 3.1.2
164
+
165
+ ### Patch Changes
166
+
167
+ - [#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
168
+
169
+ - 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)]:
170
+ - @atlaspack/plugin@2.14.20
171
+ - @atlaspack/feature-flags@2.19.2
172
+ - @atlaspack/graph@3.5.9
173
+ - @atlaspack/utils@2.17.2
174
+
175
+ ## 3.1.1
176
+
177
+ ### Patch Changes
178
+
179
+ - Updated dependencies [[`13aef17`](https://github.com/atlassian-labs/atlaspack/commit/13aef177eea289a6e40d2113b5ec1ac9be18a33d)]:
180
+ - @atlaspack/feature-flags@2.19.1
181
+ - @atlaspack/graph@3.5.8
182
+ - @atlaspack/utils@2.17.1
183
+ - @atlaspack/plugin@2.14.19
184
+
185
+ ## 3.1.0
186
+
187
+ ### Minor Changes
188
+
189
+ - [#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
190
+
191
+ ### Patch Changes
192
+
193
+ - 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)]:
194
+ - @atlaspack/feature-flags@2.19.0
195
+ - @atlaspack/utils@2.17.0
196
+ - @atlaspack/rust@3.4.1
197
+ - @atlaspack/graph@3.5.7
198
+ - @atlaspack/plugin@2.14.18
199
+
200
+ ## 3.0.8
201
+
202
+ ### Patch Changes
203
+
204
+ - Updated dependencies [[`c75bf55`](https://github.com/atlassian-labs/atlaspack/commit/c75bf553fff4decc285b5fd499a275853b18f8f2)]:
205
+ - @atlaspack/rust@3.4.0
206
+ - @atlaspack/utils@2.16.1
207
+ - @atlaspack/plugin@2.14.17
208
+
209
+ ## 3.0.7
210
+
211
+ ### Patch Changes
212
+
213
+ - Updated dependencies [[`e8a60ff`](https://github.com/atlassian-labs/atlaspack/commit/e8a60ffbea41caef265786bbf73349771760081c), [`30ee2cf`](https://github.com/atlassian-labs/atlaspack/commit/30ee2cfcd34cf2646ded0eda13fdb80a2a5de529)]:
214
+ - @atlaspack/feature-flags@2.18.4
215
+ - @atlaspack/utils@2.16.0
216
+ - @atlaspack/graph@3.5.6
217
+ - @atlaspack/plugin@2.14.16
218
+
219
+ ## 3.0.6
220
+
221
+ ### Patch Changes
222
+
223
+ - Updated dependencies [[`5ded263`](https://github.com/atlassian-labs/atlaspack/commit/5ded263c7f11b866e8885b81c73e20dd060b25be)]:
224
+ - @atlaspack/feature-flags@2.18.3
225
+ - @atlaspack/graph@3.5.5
226
+ - @atlaspack/utils@2.15.3
227
+ - @atlaspack/plugin@2.14.15
228
+
229
+ ## 3.0.5
230
+
231
+ ### Patch Changes
232
+
233
+ - Updated dependencies [[`644b157`](https://github.com/atlassian-labs/atlaspack/commit/644b157dee72a871acc2d0facf0b87b8eea51956)]:
234
+ - @atlaspack/feature-flags@2.18.2
235
+ - @atlaspack/graph@3.5.4
236
+ - @atlaspack/utils@2.15.2
237
+ - @atlaspack/plugin@2.14.14
238
+
239
+ ## 3.0.4
240
+
241
+ ### Patch Changes
242
+
243
+ - Updated dependencies [[`26aa9c5`](https://github.com/atlassian-labs/atlaspack/commit/26aa9c599d2be45ce1438a74c5fa22f39b9b554b), [`0501255`](https://github.com/atlassian-labs/atlaspack/commit/05012550da35b05ce7d356a8cc29311e7f9afdca)]:
244
+ - @atlaspack/feature-flags@2.18.1
245
+ - @atlaspack/utils@2.15.1
246
+ - @atlaspack/graph@3.5.3
247
+ - @atlaspack/plugin@2.14.13
248
+
249
+ ## 3.0.3
250
+
251
+ ### Patch Changes
252
+
253
+ - [#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
254
+
255
+ - 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)]:
256
+ - @atlaspack/feature-flags@2.18.0
257
+ - @atlaspack/utils@2.15.0
258
+ - @atlaspack/graph@3.5.2
259
+ - @atlaspack/plugin@2.14.12
260
+
261
+ ## 3.0.2
262
+
263
+ ### Patch Changes
264
+
265
+ - [#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.
266
+
267
+ - Updated dependencies [[`73ea3c4`](https://github.com/atlassian-labs/atlaspack/commit/73ea3c4d85d4401fdd15abcbf988237e890e7ad3), [`b1b3693`](https://github.com/atlassian-labs/atlaspack/commit/b1b369317c66f8a431c170df2ebba4fa5b2e38ef)]:
268
+ - @atlaspack/feature-flags@2.17.0
269
+ - @atlaspack/graph@3.5.1
270
+ - @atlaspack/utils@2.14.11
271
+ - @atlaspack/plugin@2.14.11
272
+
273
+ ## 3.0.1
274
+
275
+ ### Patch Changes
276
+
277
+ - [#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
278
+
279
+ ## 3.0.0
280
+
281
+ ### Major Changes
282
+
283
+ - [#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
284
+
285
+ This new config replaces the previously released `sharedBundleMergeThreshold`.
286
+
287
+ The following options are available for each merge group.
288
+
289
+ ### Options
290
+
291
+ #### overlapThreshold
292
+
293
+ > The same as `sharedBundleMergeThreshold` from #535
294
+
295
+ Merge bundles share a percentage of source bundles
296
+
297
+ ```json
298
+ "@atlaspack/bundler-default": {
299
+ "sharedBundleMerge": [{
300
+ "overlapThreshold": 0.75
301
+ }]
302
+ }
303
+ ```
304
+
305
+ #### maxBundleSize
306
+
307
+ Merge bundles that are smaller than a configured amount of bytes.
308
+
309
+ > Keep in mind these bytes are pre-optimisation
310
+
311
+ ```json
312
+ "@atlaspack/bundler-default": {
313
+ "sharedBundleMerge": [{
314
+ "maxBundleSize": 20000
315
+ }]
316
+ }
317
+ ```
318
+
319
+ #### sourceBundles
320
+
321
+ Merge bundles that share a set of source bundles. The matching is relative to the project root, like how manual shared bundle roots work.
322
+
323
+ ```json
324
+ "@atlaspack/bundler-default": {
325
+ "sharedBundleMerge": [{
326
+ "sourceBundles": ["src/important-route", "src/important-route-2"]
327
+ }]
328
+ }
329
+ ```
330
+
331
+ #### minBundlesInGroup
332
+
333
+ 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.
334
+
335
+ ```json
336
+ "@atlaspack/bundler-default": {
337
+ "maxParallelRequests": 30,
338
+ "sharedBundleMerge": [{
339
+ "minBundlesInGroup": 30
340
+ }]
341
+ }
342
+ ```
343
+
344
+ ## Combining options
345
+
346
+ When multiple options are provided, all must be true for a merge to be relevant.
347
+
348
+ For example, merge bundles that are smaller than 20kb and share at least 50% of the same source bundles.
349
+
350
+ ```json
351
+ "@atlaspack/bundler-default": {
352
+ "sharedBundleMerge": [{
353
+ "overlapThreshold": 0.5,
354
+ "maxBundleSize": 20000
355
+ }]
356
+ }
357
+ ```
358
+
359
+ ## Multiple merges
360
+
361
+ You can also have multiple merge configs.
362
+
363
+ ```json
364
+ "@atlaspack/bundler-default": {
365
+ "sharedBundleMerge": [
366
+ {
367
+ "overlapThreshold": 0.75,
368
+ "maxBundleSize": 20000
369
+ },
370
+ {
371
+ "minBundlesInGroup": 30
372
+ "sourceBundles": ["src/important-route", "src/important-route-2"]
373
+ }
374
+ ]
375
+ }
376
+ ```
377
+
378
+ ### Patch Changes
379
+
380
+ - Updated dependencies [[`1b52b99`](https://github.com/atlassian-labs/atlaspack/commit/1b52b99db4298b04c1a6eb0f97994d75a2d436f9)]:
381
+ - @atlaspack/graph@3.5.0
382
+
383
+ ## 2.16.3
384
+
385
+ ### Patch Changes
386
+
387
+ - Updated dependencies [[`35fdd4b`](https://github.com/atlassian-labs/atlaspack/commit/35fdd4b52da0af20f74667f7b8adfb2f90279b7c), [`6dd4ccb`](https://github.com/atlassian-labs/atlaspack/commit/6dd4ccb753541de32322d881f973d571dd57e4ca)]:
388
+ - @atlaspack/rust@3.3.5
389
+ - @atlaspack/plugin@2.14.10
390
+ - @atlaspack/utils@2.14.10
391
+
392
+ ## 2.16.2
393
+
394
+ ### Patch Changes
395
+
396
+ - 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)]:
397
+ - @atlaspack/rust@3.3.4
398
+ - @atlaspack/feature-flags@2.16.0
399
+ - @atlaspack/utils@2.14.9
400
+ - @atlaspack/graph@3.4.7
401
+ - @atlaspack/plugin@2.14.9
402
+
403
+ ## 2.16.1
404
+
405
+ ### Patch Changes
406
+
407
+ - Updated dependencies [[`30f6017`](https://github.com/atlassian-labs/atlaspack/commit/30f60175ba4d272c5fc193973c63bc298584775b), [`1ab0a27`](https://github.com/atlassian-labs/atlaspack/commit/1ab0a275aeca40350415e2b03e7440d1dddc6228), [`b8a4ae8`](https://github.com/atlassian-labs/atlaspack/commit/b8a4ae8f83dc0a83d8b145c5f729936ce52080a3)]:
408
+ - @atlaspack/feature-flags@2.15.1
409
+ - @atlaspack/rust@3.3.3
410
+ - @atlaspack/graph@3.4.6
411
+ - @atlaspack/utils@2.14.8
412
+ - @atlaspack/plugin@2.14.8
413
+
414
+ ## 2.16.0
415
+
416
+ ### Minor Changes
417
+
418
+ - [#547](https://github.com/atlassian-labs/atlaspack/pull/547) [`a1773d2`](https://github.com/atlassian-labs/atlaspack/commit/a1773d2a62d0ef7805ac7524621dcabcc1afe929) Thanks [@benjervis](https://github.com/benjervis)! - Add a feature flag for resolving the configuration for `@atlaspack/bundler-default` from CWD, rather than exclusively from the project root.
419
+
420
+ ### Patch Changes
421
+
422
+ - Updated dependencies [[`a1773d2`](https://github.com/atlassian-labs/atlaspack/commit/a1773d2a62d0ef7805ac7524621dcabcc1afe929), [`556d6ab`](https://github.com/atlassian-labs/atlaspack/commit/556d6ab8ede759fa7f37fcd3f4da336ef1c55e8f)]:
423
+ - @atlaspack/feature-flags@2.15.0
424
+ - @atlaspack/rust@3.3.2
425
+ - @atlaspack/graph@3.4.5
426
+ - @atlaspack/utils@2.14.7
427
+ - @atlaspack/plugin@2.14.7
428
+
429
+ ## 2.15.1
430
+
431
+ ### Patch Changes
432
+
433
+ - Updated dependencies [[`e0f5337`](https://github.com/atlassian-labs/atlaspack/commit/e0f533757bd1019dbd108a04952c87da15286e09)]:
434
+ - @atlaspack/feature-flags@2.14.4
435
+ - @atlaspack/rust@3.3.1
436
+ - @atlaspack/graph@3.4.4
437
+ - @atlaspack/utils@2.14.6
438
+ - @atlaspack/plugin@2.14.6
439
+
440
+ ## 2.15.0
441
+
442
+ ### Minor Changes
443
+
444
+ - [#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
445
+
446
+ In apps with lots of dynamic imports, many shared bundles are often removed
447
+ from the output to prevent an overload in network requests according to the
448
+ `maxParallelRequests` config. In these cases, setting `sharedBundleMergeThreshold` can
449
+ merge shared bundles with a high overlap in their source bundles (bundles that share the bundle).
450
+ This config trades-off potential overfetching to reduce asset duplication.
451
+
452
+ The following config would merge shared bundles that have a 75% or higher overlap in source bundles.
453
+
454
+ ```json
455
+ {
456
+ "@atlaspack/bundler-default": {
457
+ "sharedBundleMergeThreshold": 0.75
458
+ }
459
+ }
460
+ ```
461
+
462
+ ### Patch Changes
463
+
464
+ - 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)]:
465
+ - @atlaspack/feature-flags@2.14.3
466
+ - @atlaspack/rust@3.3.0
467
+ - @atlaspack/graph@3.4.3
468
+ - @atlaspack/utils@2.14.5
469
+ - @atlaspack/plugin@2.14.5
470
+
3
471
  ## 2.14.4
4
472
 
5
473
  ### Patch Changes
@@ -59,6 +59,7 @@ var _default = exports.default = new (_plugin().Bundler)({
59
59
  logger
60
60
  }) {
61
61
  let targetMap = getEntryByTarget(bundleGraph); // Organize entries by target output folder/ distDir
62
+ // @ts-expect-error TS2304
62
63
  let graphs = [];
63
64
  for (let entries of targetMap.values()) {
64
65
  let singleFileEntries = new Map();
@@ -94,7 +95,11 @@ function getEntryByTarget(bundleGraph) {
94
95
  // Find entries from assetGraph per target
95
96
  let targets = new (_utils().DefaultMap)(() => new Map());
96
97
  bundleGraph.traverse({
97
- enter(node, context, actions) {
98
+ enter(
99
+ // @ts-expect-error TS2304
100
+ node, context,
101
+ // @ts-expect-error TS2304
102
+ actions) {
98
103
  if (node.type !== 'asset') {
99
104
  return node;
100
105
  }
@@ -4,6 +4,13 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.addJSMonolithBundle = addJSMonolithBundle;
7
+ function _featureFlags() {
8
+ const data = require("@atlaspack/feature-flags");
9
+ _featureFlags = function () {
10
+ return data;
11
+ };
12
+ return data;
13
+ }
7
14
  function _nullthrows() {
8
15
  const data = _interopRequireDefault(require("nullthrows"));
9
16
  _nullthrows = function () {
@@ -18,7 +25,8 @@ function addJSMonolithBundle(bundleGraph, entryAsset, entryDep) {
18
25
  // Create a single bundle to hold all JS assets
19
26
  let bundle = bundleGraph.createBundle({
20
27
  entryAsset,
21
- target
28
+ target,
29
+ needsStableName: (0, _featureFlags().getFeatureFlag)('singleFileOutputStableName')
22
30
  });
23
31
  bundleGraph.traverse((node, _, actions) => {
24
32
  // JS assets can be added to the bundle, but the rest are ignored
@@ -38,8 +46,8 @@ function addJSMonolithBundle(bundleGraph, entryAsset, entryDep) {
38
46
  }
39
47
  let assets = bundleGraph.getDependencyAssets(dependency);
40
48
  for (const asset of assets) {
41
- if (asset.bundleBehavior === 'isolated') {
42
- throw new Error('Isolated assets are not supported for single file output builds');
49
+ if (asset.bundleBehavior === 'isolated' || asset.bundleBehavior === 'inlineIsolated') {
50
+ throw new Error(`${asset.bundleBehavior === 'isolated' ? 'Isolated' : 'Inline isolated'} assets are not supported for single file output builds`);
43
51
  }
44
52
 
45
53
  // For assets marked as inline, we create new bundles and let other