diff options
Diffstat (limited to 'vite.config.js')
-rw-r--r-- | vite.config.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vite.config.js b/vite.config.js new file mode 100644 index 0000000..e55de70 --- /dev/null +++ b/vite.config.js @@ -0,0 +1,13 @@ +import { defineConfig } from 'vite'; +import react from '@vitejs/plugin-react'; +import dotenv from 'dotenv'; + +// Load environment variables from .env file +dotenv.config(); + +export default defineConfig({ + plugins: [react()], + define: { + 'process.env': process.env, + }, +}); |