15 lines
282 B
TypeScript
15 lines
282 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
define: {
|
|
'process.env': process.env,
|
|
},
|
|
server: {
|
|
host: true,
|
|
},
|
|
base: './',
|
|
});
|