From 6d1561cd82c02cb410a0f12373fa7b28d6819017 Mon Sep 17 00:00:00 2001 From: ssb-jnk Date: Fri, 8 Mar 2024 21:00:14 +0100 Subject: [PATCH] fix-prep-bug --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 25e1c191..4107004b 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "lint:fix": "eslint ./src --ext .jsx,.js,.ts,.tsx --quiet --fix --ignore-path ./.gitignore", "lint:format": "prettier --loglevel warn --write \"./**/*.{js,jsx,ts,tsx,css,md,json}\" ", "preview": "vite preview", - "prepare": "vite-envs update-types" + "prepare": "if [ \"$NODE_ENV\" != \"production\" ]; then vite-envs update-types; fi" }, "dependencies": { "@emotion/react": "^11.11.4",