15 lines
354 B
TypeScript
15 lines
354 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
|
|
export default defineConfig({
|
|
plugins: [react(), tailwindcss()],
|
|
server: {
|
|
port: parseInt(process.env.PORT || '3000'),
|
|
host: true,
|
|
},
|
|
preview: {
|
|
port: parseInt(process.env.PORT || '3000'),
|
|
host: true,
|
|
},
|
|
}) |