Development Guide
Prerequisites
- Node.js (v18+)
- Bun (Latest)
- Chrome (for testing)
Setup
- Clone the repository:
git clone https://github.com/your-repo/enveil.git cd enveil - Install dependencies:
bun install
Workflow
Enveil uses WXT (Web Extension Tools) for the build system.
Development Server
Start the dev server with hot-reload:
bun run dev
This will:
- Build the extension in
.output/chrome-mv3. - Watch for file changes.
- (Optional) Open a browser instance if configured.
Building for Production
Create an optimized build:
bun run build
Artifacts will be in .output/.
Architecture Reference
See Architecture for details on the internal component structure.