packages/extension/README.md
Browser extension for scanning React applications and identifying performance issues.
When developing with Brave, you need to set the BRAVE_BINARY environment variable. Create a .env file (copy from .env.example):
# For macOS
BRAVE_BINARY="/Applications/Brave Browser.app/Contents/MacOS/Brave Browser"
# For Windows
BRAVE_BINARY="C:\\Program Files\\BraveSoftware\\Brave-Browser\\Application\\brave.exe"
# For Linux
BRAVE_BINARY="/usr/bin/brave"
pnpm dev
<i>If you need to inspect the extension, open chrome://extensions in Chrome</i>
pnpm dev:firefox
<i>If you need to inspect the extension, open about:debugging#/runtime/this-firefox in Firefox</i>
Run development server:
pnpm dev:brave
This will automatically open Brave with the extension loaded.
<i>If you need to inspect the extension, open brave://extensions in Brave</i>
To build the extension for all browsers:
pnpm pack:all
This will create:
chrome-extension-v1.0.8.zipfirefox-extension-v1.0.8.zipbrave-extension-v1.0.8.zipin the build directory.