Generate asset versions during Docker builds

This commit is contained in:
2026-07-30 18:37:39 -04:00
parent eec422661b
commit 1a63da77f3
23 changed files with 128 additions and 87 deletions
+2 -2
View File
@@ -2,8 +2,8 @@
// Mirrors manual-roast-planner.html's worksheet box 6 (lines 1-9, totals A/C/D)
// and box 7 (the four sanity checks) exactly. Imported by both server and browser.
import { parseDuration, parseRangeMidpoint } from "./time.js?v=20260730-release2";
import { YELLOW_RATIO, SANITY_BANDS } from "./reference-data.js?v=20260730-release2";
import { parseDuration, parseRangeMidpoint } from "./time.js?v=__ASSET_VERSION__";
import { YELLOW_RATIO, SANITY_BANDS } from "./reference-data.js?v=__ASSET_VERSION__";
/**
* @param {import("./fields.js").Plan} plan