Skip to content

Commit

Permalink
day 23 (sveltejs#1062)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris authored Dec 23, 2024
1 parent 6e4cbb3 commit cfa3d8c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions apps/svelte.dev/content/blog/2024-12-01-advent-of-svelte.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,16 +177,18 @@ It comes with caveats — you can't use server-rendering (or any server logic),
- [docs](/docs/kit/configuration#router)
- [demo](https://hash-based-routing.vercel.app/)

## Day 22
## Day 22: self-contained apps

Following the introduction of the `bundleStrategy` option on day 19, and hash-based routing yesterday, we now have the ability to generate fully self-contained apps with the `bundleStrategy: 'inline'` option. Together with Vite's `assetsInlineLimit` option, it's possible to put an entire SvelteKit app — code, styles, fonts, images, audio and everything else — inside a single .html file that you can share with people on a floppy disk.

- [docs](/docs/kit/configuration#output)
- [example downloadable Snake game](https://svelte-snek.vercel.app/)

## Day 23
## Day 23: download from playground

Coming soon!
We've added a 'download app' option to the toolbox in the playground — selecting it will zip up the app, along with any packages you've imported, and download it to your machine so you can continue working on it in your editor of choice.

- [playground](/playground)

## Day 24

Expand Down

0 comments on commit cfa3d8c

Please sign in to comment.