mast/mast-react-vite/vite.config.ts
2025-02-19 23:17:26 -08:00

17 lines
356 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react-swc'
import path from "path"
// https://vite.dev/config/
export default defineConfig({
server: {
host: true // This enables listening on all network interfaces
},
plugins: [react()],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
})