File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 }
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import tailwindcss from "@tailwindcss/vite";
22import react from "@vitejs/plugin-react" ;
33import { tanstackRouter } from "@tanstack/router-plugin/vite" ;
44import { defineConfig } from "vite" ;
5- import { version } from "./package.json" with { type : "json" } ;
5+ import pkg from "./package.json" with { type : "json" } ;
66
77const port = Number ( process . env . PORT ?? 5733 ) ;
88const 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 ,
You can’t perform that action at this time.
0 commit comments