organize src/

This commit is contained in:
Chris Wanstrath 2026-01-15 12:54:33 -08:00
parent e938d15dc6
commit 33d228c9ac
5 changed files with 7 additions and 2 deletions

5
CHANGELOG.md Normal file
View File

@ -0,0 +1,5 @@
## 2026-01-15
- All frontend code now lives in `src/client/`
- All backend code now lives in `src/server/`
- ^^ This is a change from `src/js/` being for frontend and just `src/` for backend

View File

@ -9,8 +9,8 @@ import defaultLayout from './layout'
import { feFunctions, fnStorage } from './frontend' import { feFunctions, fnStorage } from './frontend'
const SHOW_HTTP_LOG = true const SHOW_HTTP_LOG = true
const CSS_RESET = await Bun.file(join(import.meta.dir, '/reset.css')).text() const CSS_RESET = await Bun.file(join(import.meta.dir, '/css/reset.css')).text()
const PICO_CSS = await Bun.file(join(import.meta.dir, '/pico.css')).text() const PICO_CSS = await Bun.file(join(import.meta.dir, '/css/pico.css')).text()
export * from './utils' export * from './utils'
export { frontend } from './frontend' export { frontend } from './frontend'