mirror of
https://github.com/mengxi-ream/read-frog.git
synced 2026-04-30 01:56:46 +00:00
788 B
788 B
Source Code Review - Build Instructions
Build Environment
- Node.js: >= 22.0.0
- pnpm: 10.30.2 (auto-installed via corepack)
Build Steps
# 1. Enable corepack (ships with Node.js) to auto-install the correct pnpm version
corepack enable
# 2. Install dependencies
pnpm install --frozen-lockfile
# 3. Build the Firefox extension
pnpm zip:firefox
Environment Variables
The .env.production file is included in this archive. It contains:
WXT_GOOGLE_CLIENT_ID— A public Google OAuth Client ID used for Google Sign-In. This is not a secret; OAuth Client IDs are designed to be embedded in client-side applications.
Build Output
After a successful build, the packaged extension will be at:
.output/read-frog-<version>-firefox.zip