Copy vite build output to frontend in nix package

Then we can upload the symbols when we run
This commit is contained in:
Eli Ribble 2026-04-30 03:09:06 +00:00
parent b8a9ecb253
commit e45e05f337
No known key found for this signature in database

View file

@ -55,4 +55,11 @@ pkgs.buildGoModule rec {
pnpm build-rmo
pnpm build-sync
'';
postInstall = ''
# Copy frontend build output to artifacts so we can upload them to sentry
mkdir -p $out/share/frontend/
cp -r vite/rmo/static/gen/rmo $out/share/frontend/
cp -r vite/rmo/static/gen/sync $out/share/frontend/
'';
}