This commit is contained in:
+5
-1
@@ -1,10 +1,14 @@
|
||||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import path from "node:path";
|
||||
|
||||
const apiPort = Number(process.env.TALLYNOTE_PORT ?? 3000);
|
||||
|
||||
export default defineConfig({
|
||||
root: "web",
|
||||
root: "web-next",
|
||||
resolve: {
|
||||
alias: { "@": path.resolve(process.cwd(), "web-next/src") },
|
||||
},
|
||||
plugins: [react()],
|
||||
server: {
|
||||
host: "127.0.0.1",
|
||||
|
||||
Reference in New Issue
Block a user