Files
vertex/vite.config.ts
T
2026-07-11 13:23:40 +03:00

21 lines
540 B
TypeScript

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import path from 'path';
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
server: {
port: 3000,
host: '0.0.0.0',
allowedHosts: ['start.arda.to'],
},
resolve: {
alias: {
'~': path.resolve(__dirname, './src/'),
// /esm/icons/index.mjs only exports the icons statically, so no separate chunks are created
'@tabler/icons-react': '@tabler/icons-react/dist/esm/icons/index.mjs',
},
},
});