mirror of
https://github.com/mvvasilev/personal-finances.git
synced 2025-04-20 06:39:52 +03:00
21 lines
446 B
JavaScript
21 lines
446 B
JavaScript
|
import { defineConfig } from 'vite'
|
||
|
import react from '@vitejs/plugin-react'
|
||
|
import { fileURLToPath, URL } from 'node:url'
|
||
|
|
||
|
// https://vitejs.dev/config/
|
||
|
export default defineConfig({
|
||
|
plugins: [react()],
|
||
|
resolve: {
|
||
|
alias: [
|
||
|
{ find: '@', replacement: fileURLToPath(new URL('./src', import.meta.url)) }
|
||
|
]
|
||
|
},
|
||
|
optimizeDeps: {
|
||
|
include: ['@mui/material/Tooltip']
|
||
|
},
|
||
|
server: {
|
||
|
host: '127.0.0.1',
|
||
|
port: 5173,
|
||
|
}
|
||
|
})
|