mirror of
https://github.com/leon-ai/leon.git
synced 2024-12-26 10:14:57 +03:00
17 lines
366 B
JavaScript
17 lines
366 B
JavaScript
|
import dotenv from 'dotenv'
|
||
|
|
||
|
dotenv.config()
|
||
|
|
||
|
// Map necessary Leon's env vars as Vite only expose VITE_*
|
||
|
process.env.VITE_LEON_NODE_ENV = process.env.LEON_NODE_ENV
|
||
|
process.env.VITE_LEON_HOST = process.env.LEON_HOST
|
||
|
process.env.VITE_LEON_PORT = process.env.LEON_PORT
|
||
|
|
||
|
export default {
|
||
|
root: 'app/src',
|
||
|
build: {
|
||
|
outDir: '../dist',
|
||
|
emptyOutDir: true
|
||
|
}
|
||
|
}
|