fix: clear tsbuildinfo cache in frontend-build to prevent stale builds
- Add rm -rf node_modules/.tmp before npm run build - Without this, tsc -b reads stale .tsbuildinfo from Docker volume and skips recompiling changed files, causing old JS to be served
This commit is contained in:
@ -98,6 +98,7 @@ services:
|
||||
sh -c "
|
||||
set -eux;
|
||||
npm ci;
|
||||
rm -rf node_modules/.tmp;
|
||||
npm run build;
|
||||
mkdir -p /build;
|
||||
rm -rf /build/*;
|
||||
|
||||
Reference in New Issue
Block a user