From 4a146817536fe525c62a6f55742f34c4283f0ad4 Mon Sep 17 00:00:00 2001 From: Gilbert Date: Wed, 24 Apr 2024 12:18:18 -0500 Subject: [PATCH] Support process.env in frontend --- packages/frontend/vite.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/frontend/vite.config.ts b/packages/frontend/vite.config.ts index 4a991e0e..d88d0a91 100644 --- a/packages/frontend/vite.config.ts +++ b/packages/frontend/vite.config.ts @@ -23,4 +23,7 @@ export default defineConfig({ // "@snowballtools/js-sdk", ], }, + define: { + 'process.env': 'import.meta.env', + }, });