import type { Plugin } from 'vite'; /** * Options of `@barefootjs/jinja/vite`'s `barefoot()`. * * @since 0.31.0 * @stability alpha */ export interface JinjaViteOptions { /** Source directories to scan for `.tsx` components, relative to the * Vite project root (or absolute). */ components: string[]; /** Where compiled `.jinja` templates and `ssrDefaults` land — relative to * the Vite project root (or absolute). This is a backend source * directory Python reads, NOT `build.outDir` (Vite's client-asset * output). */ templates: string; /** * Extra, non-component script entries whose Vite-resolved URL (dev: * origin-based; production: content-hashed manifest path) should be * exposed to the Python app as a generated JSON asset map — e.g. a * hand-written client bootstrap script that isn't a `.tsx` component, so * it never goes through core's discovery/`scriptAssets` machinery, but * still needs a `