score:1

Accepted answer
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [react()],
  envPrefix: 'CH_',
  envDir: './environment'
})

Related Query

More Query from same tag