@frost.js/vite
v0.1.2
Published
Vite plugin for Frost: dev SSR middleware, route CSS, client boundary checks, virtual modules
Maintainers
Readme
@frost.js/vite
The Vite plugin for Frost: dev server with the frost:* reload protocol, Fast Refresh, the server/client boundary transform, per-route CSS, and the production build pipeline.
Every Frost app uses it through frost.config.ts and the frost CLI — import frost/defineConfig directly only for custom Vite setups.
Install
npm install @frost.js/viteExample
// frost.config.ts
import { defineConfig } from "@frost.js/vite";
export default defineConfig({
server: { port: 3000 },
security: { cspMode: "enforce" },
});