11 lines
361 B
TypeScript
11 lines
361 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
export default defineConfig({
|
|
plugins:[react()],
|
|
define: {
|
|
__API_BASE__: JSON.stringify(process.env.VITE_API_BASE || 'http://localhost:8080'),
|
|
__OIDC_PROVIDER__: JSON.stringify(process.env.OIDC_PROVIDER || process.env.VITE_OIDC_PROVIDER || 'Identity Provider')
|
|
}
|
|
});
|