fix(docs): export FreshViteConfig type (#3516)

For https://jsr.io/@fresh/plugin-vite/doc/~/fresh
This commit is contained in:
David Sherret
2025-10-03 19:59:34 +02:00
committed by GitHub
parent 8e9dcc087f
commit a45cfe1ced
+2
View File
@@ -25,6 +25,8 @@ import { isBuiltin } from "node:module";
import { load as stdLoadEnv } from "@std/dotenv";
import path from "node:path";
export type { FreshViteConfig };
export function fresh(config?: FreshViteConfig): Plugin[] {
const fConfig: ResolvedFreshViteConfig = {
serverEntry: config?.serverEntry ?? "main.ts",