2022-07-04 16:44:02 +00:00
|
|
|
import { defineConfig } from 'vite';
|
|
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
|
|
|
|
// https://vitejs.dev/config/
|
|
|
|
export default defineConfig({
|
2022-07-04 17:02:12 +00:00
|
|
|
plugins: [react()],
|
2022-07-05 09:57:13 +00:00
|
|
|
base: '',
|
2022-07-07 09:13:43 +00:00
|
|
|
server: {
|
|
|
|
hmr: {
|
|
|
|
clientPort: parseInt(process.env.CLIENT_PORT || '3000'),
|
|
|
|
}
|
|
|
|
}
|
2022-07-04 16:44:02 +00:00
|
|
|
});
|