From c430cb37a663c063b23dbbea182e9adb43379cdf Mon Sep 17 00:00:00 2001 From: Joshua Rodriguez Date: Tue, 2 Apr 2024 12:37:58 -0500 Subject: [PATCH] Adjust build commands to use "next start" --- frontend/package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 948b2ddb..1b42f4b8 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -4,10 +4,10 @@ "private": true, "scripts": { "dev": "next dev", - "build:dev": "env-cmd -f .env.development next build && next export", - "build:stage": "env-cmd -f .env.staging next build && next export", - "build:prod": "env-cmd -f .env.production next build && next export", - "build:ui": "env-cmd -f .env.ui next build && next export", + "build:dev": "env-cmd -f .env.development next build && next start", + "build:stage": "env-cmd -f .env.staging next build && next start", + "build:prod": "env-cmd -f .env.production next build && next start", + "build:ui": "env-cmd -f .env.ui next build && next start", "lint": "next lint", "check-formatting": "prettier --check .", "prepare": "cd ${HOOKS_DIR:-..} && husky install frontend/.husky",