@contentina/vite
v0.1.1
Published
Vite adapter for Contentina.
Readme
⚡ @contentina/vite
Vite plugin for Contentina.
Rebuilds on dev server start and when watched content or config changes. Resolves granular contentina/generated/* imports to matching files in the current generated output; the root remains type-only.
Install
bun add @contentina/vite @contentina/corePeer dependency: Vite 6+
Quick start
import contentina from "@contentina/vite";
import { defineConfig } from "vite";
export default defineConfig({
plugins: [contentina()],
});Options
contentina({
logLevel: "info", // "info" | "debug" for build summaries
configPath: "./contentina.config.ts",
});Framework-specific packages (@contentina/sveltekit, @contentina/nuxt, …) build on top of this plugin.
Part of Contentina · npm
