@@ -36,6 +36,7 @@ Use `.env.local` for local secrets. Keep `.env.local` and any real token-bearing
|
||||
- `vite.config.ts` emits `dist/manifest.json` during production builds.
|
||||
- `dist/` is the deployable output directory. Deployment or Chrome load-unpacked flows should point directly at `dist/`.
|
||||
- `dist/` is generated output and should not be edited directly.
|
||||
- Static extension assets live in `public/`; the current favicon source is `public/favicon.svg`.
|
||||
- `npm run build` runs `scripts/verify-dist.mjs` after Vite to ensure the generated output has the required extension files.
|
||||
- Host permissions are derived from `VITE_GITEA_BASE_URL`. Rebuild after changing the base URL.
|
||||
- Runtime API calls are centralized in `src/api.ts`.
|
||||
|
||||
Reference in New Issue
Block a user