A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
[codex] Document browser extension dev port (#2918)
Archit Goyalfc1c127d4cf9
diff --git a/apps/browser-extension/vite.config.ts b/apps/browser-extension/vite.config.tsindex 08dfcf84..dd856ce4 100644--- a/apps/browser-extension/vite.config.ts+++ b/apps/browser-extension/vite.config.ts@@ -14,6 +14,8 @@ export default defineConfig({}),],server: {+ port: 5174,+ strictPort: true,cors: {origin: [/chrome-extension:\/\//],},diff --git a/docs/docs/08-development/01-setup.md b/docs/docs/08-development/01-setup.mdindex c367df97..52d964e7 100644--- a/docs/docs/08-development/01-setup.md+++ b/docs/docs/08-development/01-setup.md@@ -178,10 +178,10 @@ Note: Changing the code will hot reload the app. However, installing new package- `cd apps/browser-extension`- `pnpm dev`-- This will generate a `dist` package-- Go to extension settings in chrome and enable developer mode.-- Press `Load unpacked` and point it to the `dist` directory.-- The plugin will pop up in the plugin list.+- This will start the extension dev server on `http://localhost:5174` and generate a `dist` package.+- Go to `chrome://extensions` in Chrome or Brave and enable developer mode.+- Press `Load unpacked` and point it to the `apps/browser-extension/dist` directory.+- The extension will pop up in the extension list.In dev mode, opening and closing the plugin menu should reload the code.