mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-12 22:26:38 +03:00
Fix Vercel deployment: Tailwind CSS, API endpoints, and Bun runtime
- Add missing /api/patterns.js endpoint (was causing 404) - Fix Tailwind CSS: compile with @tailwindcss/cli instead of Bun virtual module - Update API handlers to use standard Vercel function export format - Configure vercel.json with proper Bun runtime (runtime: "bun@1") - Add @tailwindcss/cli to devDependencies - Add generated styles.css to .gitignore 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.5
parent
43dd5ad40b
commit
7aefe19b2a
@@ -0,0 +1,6 @@
|
||||
import { getPatterns } from "../server/lib/api-handlers.js";
|
||||
|
||||
export default async function handler(request) {
|
||||
const patterns = await getPatterns();
|
||||
return Response.json(patterns);
|
||||
}
|
||||
Reference in New Issue
Block a user