import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import eslintPlugin from 'vite-plugin-eslint' import path from 'path' export default defineConfig({ plugins: [ react(), eslintPlugin({ include: ['src/**/*.js', 'src/**/*.jsx'] }), ], resolve: { alias: { '@': path.resolve(__dirname, './src'), } }, base: '/', server: { host: '0.0.0.0', port: 3211, strictPort: true, https: false, allowedHosts: [ 'dev.sovamed.ru', 'dev.wmtmed.ru' ], hmr: false } })