diff --git a/package.json b/package.json index 517ebca2..cacbf384 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "dev": "yarn react-env --prefix NEXT_PUBLIC && next dev", - "build": "next build", + "build": "yarn react-env --prefix NEXT_PUBLIC && next build", "start": "yarn react-env --prefix NEXT_PUBLIC && next start", "lint": "next lint", "prepare": "husky install"