Copy vite build output to frontend in nix package
Then we can upload the symbols when we run
This commit is contained in:
parent
b8a9ecb253
commit
e45e05f337
1 changed files with 7 additions and 0 deletions
|
|
@ -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/
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue