So the public/build/ bundle that ships in the next deploy always matches the source the tests just verified. Without it, the previous "Remove this frame" feature shipped source-correct but compiled-stale, and the button never appeared on the deployed PWA. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -16,3 +16,10 @@ echo "── Frontend typecheck + tests ─────────────
|
||||
cd frontend
|
||||
npx vue-tsc --noEmit -p tsconfig.app.json
|
||||
npx vitest run
|
||||
|
||||
echo
|
||||
echo "── Frontend production build ──────────────────────────"
|
||||
# Rebuild public/build/ so what gets committed matches what passed tests.
|
||||
# Without this step, deploys can ship source-correct features whose
|
||||
# compiled bundle is stale (verified failure mode 2026-05-09).
|
||||
npm run build
|
||||
|
||||
Reference in New Issue
Block a user