chss/vite.config.ts

14 lines
298 B
TypeScript
Raw Permalink Normal View History

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: '',
server: {
hmr: {
clientPort: parseInt(process.env.CLIENT_PORT || '3000'),
2022-07-07 09:14:45 +00:00
},
},
2022-07-04 16:44:02 +00:00
});