ReviewOS

also looking at this

stacks/bunpress

fix: serve modern image assets in native docs development

#90
Merged chris wants to merge codex/docs-modern-image-assets into main
2 files +39 -1
packages/bunpress/src/serve.tsmodified+1-1
Changes to packages/bunpress/src/serve.ts
@@ -3372,7 +3372,7 @@ export async function startServer(options: {
33723372 }
33733373
33743374 // Try to serve static files first (images, css, js, etc.)
3375 const staticExtensions = ['.png', '.jpg', '.jpeg', '.gif', '.svg', '.css', '.js', '.ico', '.woff', '.woff2', '.ttf']
3375 const staticExtensions = ['.png', '.jpg', '.jpeg', '.gif', '.webp', '.avif', '.svg', '.css', '.js', '.ico', '.woff', '.woff2', '.ttf']
33763376 if (staticExtensions.some(ext => path.endsWith(ext))) {
33773377 try {
33783378 // Try root/public first