Sha256: f46970e4177eced8be32ece564b4d025fa24683068724c7b78f105a5672b67b6
Contents?: true
Size: 493 Bytes
Versions: 18
Compression:
Stored size: 493 Bytes
Contents
import { fileURLToPath, URL } from "node:url" import vue from "@vitejs/plugin-vue" import { defineConfig } from "vite" const env = process.env const target = env.BACKEND_URL || "http://localhost:9292/" const port = parseInt(env.port || "8080") // https://vitejs.dev/config/ export default defineConfig({ plugins: [vue()], server: { port, proxy: { "/api": target } }, resolve: { alias: { "@": fileURLToPath(new URL("./src", import.meta.url)) } } })
Version data entries
18 entries across 18 versions & 1 rubygems