From e773e454e9bfcf331095c9f88312bbf7b2e90359 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Mon, 7 Oct 2024 19:06:28 +0800 Subject: [PATCH] Fix #5157 and cleanup some devcontainer code (#5162) --- config/vite.config.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config/vite.config.js b/config/vite.config.js index 7b30df94..7f2dfb6f 100644 --- a/config/vite.config.js +++ b/config/vite.config.js @@ -16,9 +16,7 @@ export default defineConfig({ }, define: { "FRONTEND_VERSION": JSON.stringify(process.env.npm_package_version), - "DEVCONTAINER": JSON.stringify(process.env.DEVCONTAINER), - "GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN": JSON.stringify(process.env.GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN), - "CODESPACE_NAME": JSON.stringify(process.env.CODESPACE_NAME), + "process.env": {}, }, plugins: [ vue(),