fix(docs): export FreshViteConfig type (#3516)
For https://jsr.io/@fresh/plugin-vite/doc/~/fresh
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user