Skip to content

chore: remove Lovable platform dependencies for self-hosting - #23

Merged
hoce1n merged 1 commit into
mainfrom
260808-chore-remove-lovable
Aug 8, 2026
Merged

hoce1n merged 1 commit into
mainfrom
260808-chore-remove-lovable

Conversation

@monkeycode-global

Copy link
Copy Markdown
Contributor

Summary

Decouple the toolchain from the Lovable platform and prepare for self-hosting on Vercel.

Changes

  • Rewrite vite.config.ts with upstream plugins (@tanstack/devtools-vite, @tanstack/react-start/plugin/vite, @tailwindcss/vite, vite-tsconfig-paths, nitro/vite)
  • Target Vercel Build Output API via nitro({ preset: "vercel" }), build-only so dev keeps TanStack Start's HMR-tracking environment
  • Remove @lovable.dev/vite-tanstack-config from package.json; clean minimumReleaseAgeExcludes in bunfig.toml
  • Delete src/lib/lovable-error-reporting.ts; __root.tsx now uses plain console.error
  • Point SITE_ORIGIN at Vercel domain placeholder (TODO: re-run generate:sitemap once live)
  • Remove Lovable mentions from README.md and AGENTS.md
  • Ignore .vercel/output build artifacts

Verification

  • bun run build passes, emitting Vercel Build Output API v3 (.vercel/output with nitro preset vercel, catch-all route to __server)
  • Dev server verified: SSR pages serve, file-change reload triggers SSR reload, and client HMR broadcast received

Decouple the toolchain from the Lovable platform and prepare for
self-hosting on Vercel.

- Rewrite vite.config.ts with upstream plugins (devtools-vite,
  react-start plugin, tailwindcss, vite-tsconfig-paths, nitro) and
  target the Vercel Build Output API via nitro preset vercel (build-only,
  so dev keeps TanStack Start's HMR-tracking environment)
- Drop @lovable.dev/vite-tanstack-config from package.json and clean
  bunfig.toml minimumReleaseAgeExcludes
- Delete src/lib/lovable-error-reporting.ts; __root.tsx now uses
  console.error for error reporting
- Point SITE_ORIGIN at the new Vercel domain placeholder (update once live)
- Remove Lovable mentions from README.md and AGENTS.md
- Ignore .vercel/output build artifacts
Co-authored-by: monkeycode-ai <monkeycode-ai@chaitin.com>
@hoce1n
hoce1n merged commit 6f255f4 into main Aug 8, 2026
1 check passed
@hoce1n
hoce1n deleted the 260808-chore-remove-lovable branch August 8, 2026 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants