From 746c7963def4fbba76df1ebc9a3feb711a0d8dec Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Sun, 24 May 2026 12:59:42 -0500 Subject: [PATCH] add website build --- package.json | 3 ++- packages/website-ue/package.json | 8 ++++---- scripts/build_website.sh | 2 ++ 3 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 scripts/build_website.sh diff --git a/package.json b/package.json index eb74271ad..94ab0e38d 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "scripts": { "setup": "chmod a+x scripts/*.sh && ./scripts/setup.sh", "dev": "./scripts/dev.sh", - "build-game": "./scripts/build_game.sh" + "build-game": "./scripts/build_game.sh", + "build-website": "./scripts/build_website.sh" }, "type": "module", "workspaces": [ diff --git a/packages/website-ue/package.json b/packages/website-ue/package.json index f08fc86f7..b0a3c4f65 100644 --- a/packages/website-ue/package.json +++ b/packages/website-ue/package.json @@ -2,10 +2,10 @@ "name": "@blitzkit/website-ue", "type": "module", "scripts": { - "dev": "PUBLIC_TARGET=web astro dev", - "build": "PUBLIC_TARGET=web astro build", - "preview": "PUBLIC_TARGET=web astro preview", - "lint": "PUBLIC_TARGET=web astro check", + "dev": "astro dev", + "build": "astro build", + "preview": "astro preview", + "lint": "astro check", "astro": "astro" }, "dependencies": { diff --git a/scripts/build_website.sh b/scripts/build_website.sh new file mode 100644 index 000000000..238a0fe2a --- /dev/null +++ b/scripts/build_website.sh @@ -0,0 +1,2 @@ +cd packages/website-ue +bun run build \ No newline at end of file