Remove build-in-production script
This commit is contained in:
parent
57ed02eecb
commit
2caf8be20f
1 changed files with 0 additions and 18 deletions
|
|
@ -1,18 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# Fetch tags and set to env vars
|
|
||||||
git fetch --prune --unshallow --tags || true
|
|
||||||
git describe --tags --abbrev=0 || true
|
|
||||||
export VITE_BUILD_VERSION=$RENDER_GIT_COMMIT
|
|
||||||
export VITE_BUILD_HASH=$RENDER_GIT_COMMIT
|
|
||||||
|
|
||||||
# Install dependencies
|
|
||||||
CI=0 pnpm i
|
|
||||||
|
|
||||||
# Rebuild sharp
|
|
||||||
pnpm rebuild
|
|
||||||
|
|
||||||
# The build runs out of memory at times
|
|
||||||
NODE_OPTIONS=--max_old_space_size=16384 pnpm run build
|
|
||||||
Loading…
Reference in a new issue