import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'
import eslintPlugin from 'vite-plugin-eslint'
import svgr from 'vite-plugin-svgr'
import svgo from 'vite-plugin-svgo'

export default defineConfig({
  base: './',
  plugins: [react(), svgo(), svgr(), eslintPlugin()],
  build: {
    outDir: 'build'
  },
  server: {
    host: '0.0.0.0',
    open: false,
    port: 3000
  }
})
