ast-budget

A file over the AST budget, left unchanged.

Message

A name in angle brackets is a value the message fills in.

transform

[csszyx] ast-budget: This file exceeds the AST node budget.
  help: split the file, or raise `build.astBudgetLimit` in the plugin options; the Turbopack loader takes no budget option, so split the file there.
  note: the file is left unchanged, and none of its classes are collected.
  docs: https://csszyx.com/e/ast-budget

prescan

[csszyx] ast-budget: The prescan skipped this file because it exceeds the AST node budget, so none of its classes reached the safelist.
  help: split the file, or raise `build.astBudgetLimit` in the plugin options; the Turbopack loader takes no budget option, so split the file there.
  note: its classes produce no CSS unless another source names them.
  docs: https://csszyx.com/e/ast-budget

Level

Default: error under recommended, error under atomic. Set it in csszyx.config: rules: { 'ast-budget': 'warn' }.

The level sets how the build and csszyx check report it. It does not change a console line, and it does not stop a thrown error.

Arguments

The values this diagnostic names.

NameType
form'transform' | 'prescan'