Skip to main content

ness clean

Removes generated build output and framework caches.

ness clean [options]

By default, the command removes these directories when present:

  • .ness
  • .react-router
  • build
  • dist
ness clean --dry-run
ness clean
ness clean --coverage
OptionDescription
--coverageAlso remove the coverage directory
--dry-runPrint matching directories without removing them

The target list is fixed: source files, public assets, lock files, and node_modules are never removed.