Files
AndreaSlopFotografie/aidlc-docs/features/over-mij-page/construction/build-and-test/build-instructions.md
T
SluijsensandClaude Opus 5.5 7a56a4783a
Continuous Integration / deploy-test (pull_request) Canceled after 0s
Continuous Integration / lighthouse (pull_request) Canceled after 0s
Continuous Integration / deploy-production (pull_request) Canceled after 0s
Continuous Integration / check (pull_request) Canceled after 5m57s
Records Build and Test of the Over mij page and completes the feature
Full pnpm check at ae769cb passed and 24 browser checks against the
production build passed. Adds the build and test instructions and
summary, marks the feature complete and logs the session in the audit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 21:50:59 +02:00

23 lines
1023 B
Markdown

# Build Instructions — over-mij-page
Unchanged from homepage-sections: this feature adds no dependencies, build steps or environment variables.
## Prerequisites
- **Node.js** 24 and **pnpm** (version pinned in `web/package.json`)
- **Environment variables**: none for the build. `LIGHTHOUSE_PERFORMANCE=warn` only in CI.
## Build steps
```bash
cd web
pnpm install # also runs `chakra typegen` (postinstall)
pnpm build # tsc && vite build
```
## Verify
- **Expected output**: `✓ built in …s` and no TypeScript errors (3.5 s locally at ae769cb)
- **Artifacts**: `web/dist/`. New in this feature: the three page photos under `dist/assets/` (hashed names) and `dist/og-over-mij.jpg` (copied from `public/`, stable URL for the preview image)
- **Accepted warning**: Vite's chunk-size warning for the main bundle (known, NFR-P-01)
## Troubleshooting
- **Lighthouse or preview fails with "port in use"**: a preview server or the CI Lighthouse job on the PC runner is using port 4173. Stop it first.