@yorki/vite-config
v0.8.1
Published
Shared Vite configuration for yorki-generated apps: TanStack Start + React + Tailwind v4, dev security headers, preview-friendly error handling, visual-edit source tagging.
Readme
@yorki/vite-config
Shared Vite configuration for apps generated by yorki.
Your app's vite.config.ts stays a thin wrapper:
import { defineYorkiConfig } from "@yorki/vite-config";
export default defineYorkiConfig();It bundles TanStack Start (SSG-by-default prerendering), React, Tailwind CSS v4, development security headers, and preview-friendly error handling. Build setup improvements ship as new versions of this package.
@yorki/vite-config/security-headers exposes the security-header builder
shared with the app's scripts/build-headers.mjs.
