From a085950f42405c735eed5bc2fcd6b637566a45f3 Mon Sep 17 00:00:00 2001
From: somnath ghorpade <somnathg@mkcl.org>
Date: Tue, 6 Jun 2023 15:51:02 +0530
Subject: [PATCH] added vite support for env variables.

---
 app/.env             | 3 ++-
 app/.env.development | 3 ++-
 app/.env.production  | 3 ++-
 app/.env.staging     | 2 +-
 4 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/app/.env b/app/.env
index f59016d..243a9dc 100644
--- a/app/.env
+++ b/app/.env
@@ -1 +1,2 @@
-VUE_APP_VERSION = ENVVERSION
\ No newline at end of file
+NODE_ENV = development
+VITE_APP_VERSION = ENVVERSION
\ No newline at end of file
diff --git a/app/.env.development b/app/.env.development
index 11cd668..486cdb8 100644
--- a/app/.env.development
+++ b/app/.env.development
@@ -1 +1,2 @@
-VUE_APP_VERSION = envVersion
+NODE_ENV = development
+VITE_APP_VERSION = envVersion
diff --git a/app/.env.production b/app/.env.production
index 69a8837..8b1704b 100644
--- a/app/.env.production
+++ b/app/.env.production
@@ -1 +1,2 @@
-VUE_APP_VERSION = envProductionVersion
\ No newline at end of file
+NODE_ENV = production
+VITE_APP_VERSION = envProductionVersion
\ No newline at end of file
diff --git a/app/.env.staging b/app/.env.staging
index 1889196..cf852b2 100644
--- a/app/.env.staging
+++ b/app/.env.staging
@@ -1,2 +1,2 @@
 NODE_ENV = production
-VUE_APP_VERSION = envStagingVersion
\ No newline at end of file
+VITE_APP_VERSION = envStagingVersion
\ No newline at end of file
-- 
GitLab