| 12345678910111213141516171819202122 |
- import { defineConfig } from "vite";
- import react from "@vitejs/plugin-react";
- import tailwindcss from "@tailwindcss/vite";
- import { resolve } from "node:path";
- export default defineConfig({
- plugins: [react(), tailwindcss()],
- resolve: {
- alias: {
- "@": resolve(__dirname, "src"),
- },
- },
- server: {
- port: 4567,
- proxy: {
- "/api": {
- target: `http://localhost:${process.env.INKOS_STUDIO_PORT ?? "4569"}`,
- changeOrigin: true,
- },
- },
- },
- });
|