uf0.1.0

Type to search every page and heading. Page titles only, while the full index loads.

All pages

API reference

@uniflowed/vite

Vite, driven by uf.config.js: every Flow module through `uf transform`, MDX, the file-system router and static rendering as Vite plugins.

0.1.04 documented exports, 5 without a doc commentpackages/vite

Written from the source by uf doc when this site was built: the signature and the comment above each export, grouped by the specifier a program imports it from.

@uniflowed/vite

function

devUrlFor

export function devUrlFor(id) { ... }

The URL a NUL-prefixed module is served at in development.

function

default

export default function uniflowed(options = {}) { ... }

uf's Vite plugins.

Without a doc comment

@uniflowed/vite/driver

Without a doc comment

@uniflowed/vite/merge

function

mergeConfig

export function mergeConfig(base, overrides) { ... }

Deep-merge overrides onto base.

Plain objects merge key by key; arrays and everything else replace, which is what a caller setting build.rollupOptions.input means. plugins is the exception and is handled by the caller, because concatenating is right there and replacing is right everywhere else.

function

withProjectConfig

export function withProjectConfig(generated, overrides) { ... }

uf's generated config, with the project's Vite config merged over it.