Verify Build

Runs npm run build to catch Vite/Rollup failures before merge. Use when validating frontend changes or in CI pre-merge loops.

HeyEddi-com 757ae18 8 files · 9.9 KB Updated

File contents

Verify Build

When to use

  • Before opening or approving a PR with frontend changes
  • After refactoring imports, routes, or Vite config
  • When static generation or bundle errors are suspected

Instructions

  1. Ensure dependencies are installed (npm ci or npm install).
  2. Run bash scripts/verify_build.sh --project-root <root>.
  3. If build fails, read the Rollup/Vite stack trace and fix imports or types.
  4. Re-run until output shows success.

Scripts

  • verify_build.sh: executes npm run build and returns combined output

HeyEddi-com/heyeddi-skills/tree/main/skills/verify-build commit 757ae18772

Frequently asked questions

npx skillmds@latest add heyeddi-com/verify-build