15 lines
308 B
TypeScript
15 lines
308 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
port: 3000,
|
|
allowedHosts: ['pa_mobile.louislabs.com', 'localhost'],
|
|
},
|
|
define: {
|
|
'process.env': process.env,
|
|
},
|
|
});
|