chore: strip repository to provide a minimal reproduction of bun code splitting bug

Removes all server-side code, tests, CI pipelines, Docker config, extra CSS, and sidebar logic. 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 17:59:06 +00:00
parent be361e3896
commit 7bfa1051c3
21 changed files with 4 additions and 1797 deletions
+2 -8
View File
@@ -1,15 +1,9 @@
{
"name": "excali",
"name": "excali-repro",
"type": "module",
"private": true,
"scripts": {
"dev": "bun --hot src/dev-server.tsx",
"build": "rm -rf dist && bun run build:client && bun run build:server",
"build:client": "bun build --target=browser --production --outdir ./dist/public ./src/index.html",
"build:server": "mkdir -p ./dist/server && bun build --target=bun --production --outfile ./dist/server/server.js ./src/server.tsx",
"start": "DATABASE_PATH=./data/excalidraw.sqlite bun ./dist/server/server.js",
"test": "bun test",
"typecheck": "tsc --noEmit"
"build": "rm -rf dist && bun build --target=browser --splitting --outdir ./dist/public ./src/index.html"
},
"dependencies": {
"@excalidraw/excalidraw": "^0.18.1",