From 2696296c40719263e85cd542289f8df058ee2ee4 Mon Sep 17 00:00:00 2001 From: HidemaruOwO Date: Sat, 24 Aug 2024 09:43:36 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Create=20working=20script=20for?= =?UTF-8?q?=20built=20(build.sh)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 build.sh diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..6ffbe68 --- /dev/null +++ b/build.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +pnpm run clean-all + +pnpm install --frozen-lockfile +NODE_ENV=production NODE_OPTIONS='--max-old-space-size=3072' pnpm run build + +pnpm run migrate