Before you can work on Dispel, you need Bun (the project’s runtime and package manager) and a browser to load the unpacked extension. Once you complete this guide you will have a live-reloading dev build running in your browser, the Biome linter configured, and TypeScript type-checking available — everything required to make and test changes with confidence.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/thePrnvBot/dispel-web-stylist/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Bun 1.3+
Dispel uses Bun as both its package manager and script runner. Version 1.3 or later is required. Install from bun.sh or run
curl -fsSL https://bun.sh/install | bash.A Supported Browser
You need a Chromium-based browser (Chrome, Edge, Brave, Arc, etc.) or Firefox to load and test the unpacked extension during development.
Clone and Install
Install dependencies
The
postinstall hook runs wxt prepare automatically after bun install completes. This generates the .wxt/ directory, which contains auto-generated TypeScript types and the extension manifest. If you ever see missing-type errors referencing .wxt/, run bun run postinstall manually to regenerate it.Running the Dev Build
Start the development server with hot reload for whichever browser you are targeting. WXT watches your source files and pushes changes live without requiring a full extension reload for most edits.- Chrome →
.output/chrome-mv3-dev/ - Firefox →
.output/firefox-mv3-dev/
@wxt-dev/module-react.
Loading the Extension in Your Browser
After the dev build starts, load the unpacked extension so you can interact with it in a real browser tab.Chrome / Chromium-based browsers
Chrome / Chromium-based browsers
- Open a new tab and navigate to
chrome://extensions. - Enable Developer mode using the toggle in the top-right corner.
- Click Load unpacked.
- Select the
.output/chrome-mv3-dev/directory inside your cloned repo. - The Dispel icon appears in your toolbar. Click it (or press
Ctrl+Shift+Y) to open the side panel.
Firefox
Firefox
- Open a new tab and navigate to
about:debugging. - Click This Firefox in the left sidebar.
- Click Load Temporary Add-on….
- Navigate to
.output/firefox-mv3-dev/and select themanifest.jsonfile. - The extension is now active. Firefox temporary add-ons are removed when the browser restarts; reload from
about:debuggingafter each restart.
Linting and Type Checking
Dispel uses Biome (via theultracite preset) for linting and formatting, and TypeScript’s tsc for type checking. Run these before committing: