Skip to content

Commit afba1d9

Browse files
committed
chore: update vite to v8.0.0 stable
1 parent 71a7473 commit afba1d9

4 files changed

Lines changed: 258 additions & 28 deletions

File tree

apps/web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"playwright": "^1.58.2",
5454
"tailwindcss": "^4.0.0",
5555
"typescript": "catalog:",
56-
"vite": "^8.0.0-beta.12",
56+
"vite": "^8.0.0",
5757
"vitest": "catalog:",
5858
"vitest-browser-react": "^2.0.5"
5959
}

apps/web/vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import tailwindcss from "@tailwindcss/vite";
22
import react from "@vitejs/plugin-react";
33
import { tanstackRouter } from "@tanstack/router-plugin/vite";
44
import { defineConfig } from "vite";
5-
import { version } from "./package.json" with { type: "json" };
5+
import pkg from "./package.json" with { type: "json" };
66

77
const port = Number(process.env.PORT ?? 5733);
88
const sourcemapEnv = process.env.T3CODE_WEB_SOURCEMAP?.trim().toLowerCase();
@@ -30,7 +30,7 @@ export default defineConfig({
3030
define: {
3131
// In dev mode, tell the web app where the WebSocket server lives
3232
"import.meta.env.VITE_WS_URL": JSON.stringify(process.env.VITE_WS_URL ?? ""),
33-
"import.meta.env.APP_VERSION": JSON.stringify(version),
33+
"import.meta.env.APP_VERSION": JSON.stringify(pkg.version),
3434
},
3535
resolve: {
3636
tsconfigPaths: true,

0 commit comments

Comments
 (0)