From 3ab312e73ccd49082ea719ef835e85515a0e2a25 Mon Sep 17 00:00:00 2001 From: David Colon <38386583+Da-Colon@users.noreply.github.com> Date: Sun, 24 Mar 2024 19:06:32 -0400 Subject: [PATCH] force deps to optimized when starting vite dev server --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 704e178eda..9eb2b66650 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "lint:check": "eslint . --ext .ts,.tsx", "pretty": "prettier . --write", "pretty:check": "prettier . --check", - "dev": "npm run graphql:build && VITE_APP_GIT_HASH=`git rev-parse HEAD` vite", + "dev": "VITE_APP_GIT_HASH=`git rev-parse HEAD` vite --force", "start": "vite start", "preview": "vite preview", "build": "npm run graphql:build && VITE_APP_GIT_HASH=`git rev-parse HEAD` vite build",