From 930b26709dede5ed307fe311fe2985107d18202f Mon Sep 17 00:00:00 2001 From: CodedThemes <77041536+phoenixcoded20@users.noreply.github.com> Date: Sun, 5 May 2024 18:42:16 +0530 Subject: [PATCH 1/2] Update package.json --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 55146ace..9a3b338b 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,6 @@ "scripts": { "start": "vite", "build": "vite build", - "build-stage": "env-cmd -f .env.qa vite build", "preview": "vite preview", "lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"", "lint:fix": "eslint --fix \"src/**/*.{js,jsx,ts,tsx}\"", @@ -95,4 +94,4 @@ "prettier": "^3.2.5", "react-error-overlay": "6.0.11" } -} \ No newline at end of file +} From d0aa726c3f8026a74785d55f1c14158b64393d7f Mon Sep 17 00:00:00 2001 From: CodedThemes <77041536+phoenixcoded20@users.noreply.github.com> Date: Sun, 5 May 2024 18:42:51 +0530 Subject: [PATCH 2/2] Update vite.config.mjs --- vite.config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.mjs b/vite.config.mjs index 077e8101..c75d0b96 100644 --- a/vite.config.mjs +++ b/vite.config.mjs @@ -9,7 +9,7 @@ import jsconfigPaths from 'vite-jsconfig-paths'; export default defineConfig({ plugins: [react(), jsconfigPaths()], // https://github.com/jpuri/react-draft-wysiwyg/issues/1317 - // base: '/free', // accessing env variable is not possible here. So hard coding this. + base: '/free', // accessing env variable is not possible here. So hard coding this. define: { global: 'window' },