Skip to content

Vite Config

@theholocron/vite-config provides Vite configuration presets for the common project types used in the theholocron ecosystem.

Terminal window
pnpm add -D @theholocron/vite-config vite

For npm packages that ship a dist/. Configures Vite in library mode.

vite.config.ts
import { library } from "@theholocron/vite-config";
export default library;