refactor: move frontend source from static/js+scss to src/ts+scss
TypeScript and SCSS source files no longer live inside static/. static/ is for compiled artifacts only — files that are ready to serve.
- src/ts/ — TypeScript source (compiled to static/app.js via esbuild) - src/scss/ — SCSS source (compiled to static/app.css via sass) - static/ — compiled output only; no source files
Also deleted 4 dead page modules with no corresponding templates: commit.ts, graph.ts, insights.ts, view.ts — removed their imports and registrations from app.ts. Bundle shrank by 124kb.
Fixed all pre-existing TypeScript errors: - Removed conflicting declare global block from explore.ts - Added initRepoNav and authHeaders to the canonical Window interface in musehub.ts
Updated: package.json, tsconfig.json, AGENTS.md, docs/guides/frontend-assets.md.
0 comments
muse hub commit comment sha256:fbd6a93ed2655fba7e9652d8c3449c2c7720bfdd59a72c301365dfce38658a6f --body "your comment"
No comments yet. Be the first to start the discussion.