Files
2026-05-27 19:36:33 +03:00

32 lines
563 B
JavaScript

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
}
})