Development

Very Good AdBlock is a Bun TypeScript project with STX-authored extension UI and Bunpress-authored docs.

Extension Build

bun run build           # Chrome, output to dist/
bun run build:firefox   # Firefox, output to dist-firefox/

Both targets share one codebase; src/manifest.ts generates the browser-specific manifest.json (service worker vs. event page, browser_specific_settings.gecko, etc.) at build time. See Install for loading and packaging each target.

Docs

bun run docs:dev
bun run docs:build
bun run docs:preview

Docs are Markdown files in docs/, with Bunpress config in .config/docs.ts.

Generated Rules

bun run update:filters
bun run validate:rules

Filter sources are pinned and attributed in the repository.