From 605e6ac588ce79c2fa9119011225b6eed888740c Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Tue, 27 Dec 2022 20:47:23 +0800 Subject: [PATCH 1/4] Conditionally use error logging Totally not needed on local dev at all. Disable for prod for now --- .env.production | 1 + index.html | 13 ++++++++----- package-lock.json | 20 ++++++++++++++++++++ package.json | 1 + vite.config.js | 2 ++ 5 files changed, 32 insertions(+), 5 deletions(-) create mode 100644 .env.production diff --git a/.env.production b/.env.production new file mode 100644 index 00000000..ac5aa1d2 --- /dev/null +++ b/.env.production @@ -0,0 +1 @@ +VITE_APP_ENV=production \ No newline at end of file diff --git a/index.html b/index.html index 48d2a78c..8241283a 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" /> - Phanpy + <{ VITE_CLIENT_NAME }> - + - + -