feat(vite): read build id from env if present (#3233)

Fix #3232

Disclaimer: This code was mostly generated by GitHub Copilot agent using
Sonnet-4, but tested and verified by me.

---------

Co-authored-by: Marvin Hagemeister <marvin@deno.com>
This commit is contained in:
fry69
2025-08-21 13:31:45 +02:00
committed by GitHub
co-authored by Marvin Hagemeister
parent 647d6f9adb
commit 9f09786b06
5 changed files with 70 additions and 7 deletions
@@ -0,0 +1,3 @@
import { BUILD_ID } from "@fresh/build-id";
export const handler = () => new Response(BUILD_ID);