gen_fuz_css.ts

Gro generator for creating optimized utility CSS from extracted class names. Scans source files, extracts CSS classes with AST-based parsing, and generates only the CSS for classes actually used. Includes per-file caching with content hash validation for fast incremental rebuilds.

view source

Declarations
#

2 declarations

gen_fuz_css
#

GenFuzCssOptions
#

gen_fuz_css.ts view source

GenFuzCssOptions import type {GenFuzCssOptions} from '@fuzdev/fuz_css/gen_fuz_css.js';

Options for the Gro CSS generator. Extends the shared base options with Gro-specific settings.

inheritance

include_stats?

Whether to include file and resolution statistics in the output.

type boolean

default false

project_root?

Project root directory. Source paths must be under this directory.

type string

default process.cwd()

concurrency?

Max concurrent file processing (cache read + extract). Bottlenecked by CPU-bound AST parsing.

type number

default 8

cache_io_concurrency?

Max concurrent cache writes and deletes (I/O-bound).

type number

default 50

Depends on
#