Skip to content

Commit 2b6abd6

Browse files
[#69] Connect extension to production urls (#76)
1 parent 40e371a commit 2b6abd6

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,13 @@ cd extension && pnpm run dev
4747
- Go to `chrome://extensions/`
4848
- Enable developer mode in the top right
4949
- Click Load unpacked in the top left
50-
- Choose the folder that `pnpm run dev` told you to
50+
- Choose the folder that `pnpm run dev` told you to (likely `.output/chrome-mv3-dev`)
51+
52+
### Build extension (production)
53+
54+
- Run `pnpm run build -- --mode production`
55+
- This creates the extension with the `.env.production` variables - connecting it to the production website and api.
56+
- Load unpacked or upload to Chrome Web Store (folder is likely `.output/chrome-mv3`)
5157

5258
### Environments
5359

extension/.env.production

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
VITE_API_HOST = "https://api.production.parakeet.vigetx.com"
2+
VITE_API_PORT =
3+
VITE_WEBSITE_URL = "https://parakeet.vigetx.com"

0 commit comments

Comments
 (0)