POS_react/vite.config.ts

16 lines
275 B
TypeScript
Raw Normal View History

2024-09-24 09:02:35 +08:00
import path from "path"
import react from "@vitejs/plugin-react"
import { defineConfig } from "vite"
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
2024-10-22 11:28:28 +08:00
server: {
port: 3001,
},
2024-09-24 09:02:35 +08:00
})