Files
Abhinav Sinha e999a8a857 feat: Add Release to Docker Hub GitHub Action
Implemented Docker Release action with GitHub workflows
and added release versioning with docker build args

Signed-off-by: Abhinav Sinha <[email protected]>
2026-05-30 23:08:48 +05:30

21 lines
441 B
JavaScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
server: {
proxy: {
'/api': 'http://localhost:4000'
}
},
build: {
outDir: 'dist'
},
define: {
// Fallback to 'dev' when VITE_APP_VERSION is not injected at build time
'import.meta.env.VITE_APP_VERSION': JSON.stringify(
process.env.VITE_APP_VERSION || 'dev'
)
}
})