chore: bare minimum standalone repro for bun splitting bug

Removes all server-side code, tests, CI pipelines, Docker config, extra CSS, sidebars, and documentation files to provide a bare-minimum reproduction environment.

Modifies `App.tsx` to just eagerly load and render `<Excalidraw />`. Modifies `package.json` to only contain a basic build command to reproduce the bug where Bun injects a dynamic chunk rather than the entrypoint chunk.
This commit is contained in:
ruinivist
2026-05-30 18:15:27 +00:00
parent 7bfa1051c3
commit 14bef2e633
3 changed files with 1 additions and 52 deletions
-7
View File
@@ -1,7 +0,0 @@
# Commit Style
- Use Conventional Commits.
- Keep the type and subject lowercase.
- Keep commit messages terse.
Example: `feat: dark mode by default`
-44
View File
@@ -1,44 +0,0 @@
# excali-box
Private self-hosted Excalidraw with Bun, Caddy, and SQLite.
This is bare wrapper around the excalidraw packages that adds autosave and disk-persistence.
No auth to keep things simple - you either run in a private network or put it behind Caddy auth or similar solutions.
> GPT 5.5 generated
## Pull from GHCR and run
Images are published to:
`ghcr.io/ruinivist/excalidraw-box:<version>`
```bash
docker pull ghcr.io/ruinivist/excalidraw-box:latest
docker run --rm -p 127.0.0.1:3000:80 -v "$PWD/excali-box-data:/data" ghcr.io/ruinivist/excalidraw-box:latest
```
## Run locally
```bash
bun install
bun run dev
```
Open `http://localhost:3000`.
## Test
```bash
bun run test
bun run typecheck
```
## Build the image
```bash
docker build -t excali .
docker run --rm -p 127.0.0.1:3000:80 -v "$PWD/excali-box-data:/data" excali
```
This will make the data persistent in the `excali-box-data` folder in the current directory, with Caddy serving the browser build on `localhost:3000`
+1 -1
View File
@@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- to resolve the hs and css from root --> <!-- to resolve the hs and css from root -->
<base href="/" /> <base href="/" />
<title>excali-box</title> <title>Repro</title>
<script type="module" src="./client.tsx"></script> <script type="module" src="./client.tsx"></script>
</head> </head>
<body> <body>