Experimental browser for the Atmosphere
Day 19 ā single-file bundles for SvelteKit. By default, your apps use code-splitting to ensure that you only load the code for the current page. But sometimes you need a single bundle for the whole app, and you can now do that with the new `bundleStrategy` option š docs svelte.dev/docs/kit/con...
Dec 19, 2024, 3:16 PM
{ "uri": "at://did:plc:b6gbde64ngpelprsvnphc2l2/app.bsky.feed.post/3ldo633ht222p", "cid": "bafyreignppjwf3iovt76g5f5rhwnlr4ftiti7ohicn5yaqqabtr3dkjogy", "value": { "text": "Day 19 ā single-file bundles for SvelteKit. By default, your apps use code-splitting to ensure that you only load the code for the current page. But sometimes you need a single bundle for the whole app, and you can now do that with the new `bundleStrategy` option\n\nš docs svelte.dev/docs/kit/con...", "$type": "app.bsky.feed.post", "embed": { "$type": "app.bsky.embed.images", "images": [ { "alt": "a screenshot showing the new `output.bundleStrategy` option in SvelteKit. On the left, the updated svelte.config.js; on the right, a look at the resulting HTML", "image": { "$type": "blob", "ref": { "$link": "bafkreidbqwwq36327f5mdp3dcbvberbee2tm4fvxsvox5w336bnzpybzum" }, "mimeType": "image/jpeg", "size": 815670 }, "aspectRatio": { "width": 1999, "height": 971 } } ] }, "langs": [ "en" ], "reply": { "root": { "cid": "bafyreieay7byr4wjm7fybgxcjbsa7b6v36dc3jmrv3gwtoxlffk3lh33ve", "uri": "at://did:plc:b6gbde64ngpelprsvnphc2l2/app.bsky.feed.post/3lcavobxn7c2k" }, "parent": { "cid": "bafyreihxeuia3rcldkp236xbctgewxs4gemgqqn47sidssrtpxbyjmwgn4", "uri": "at://did:plc:b6gbde64ngpelprsvnphc2l2/app.bsky.feed.post/3ldlkmce6oc2j" } }, "facets": [ { "index": { "byteEnd": 303, "byteStart": 277 }, "features": [ { "uri": "https://svelte.dev/docs/kit/configuration#output", "$type": "app.bsky.richtext.facet#link" } ] } ], "createdAt": "2024-12-19T15:16:01.787Z" } }