https://github.com/jarred-sumner/bake-svelte-plugin-example
extremely barebones concept of "svelte server components"
https://github.com/jarred-sumner/bake-svelte-plugin-example
Last synced: 6 days ago
JSON representation
extremely barebones concept of "svelte server components"
- Host: GitHub
- URL: https://github.com/jarred-sumner/bake-svelte-plugin-example
- Owner: Jarred-Sumner
- Created: 2024-11-28T08:09:50.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-11-28T08:10:06.000Z (7 months ago)
- Last Synced: 2025-06-10T06:44:17.851Z (6 days ago)
- Language: TypeScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# how to use
hello framework authors and early adopters. this is a demonstration repo for
using plugins in Bun DevServer. as of writing, you must be on https://github.com/oven-sh/bun/pull/15467it uses a custom plugin to compile `.svelte` files
start the dev server with
```sh
bun .
```to demo the static site generator
```
bun build --app --static --debug-dump-server-files
bunx serve dist
```> **Note**: `--debug-dump-server-files` is needed to dump the `runtime.js` which
> is currently incorrectly shared by the server and the client.