Fix: replace @/* path alias with relative imports for Docker compat

Vite's path alias resolution worked locally but consistently failed in
the Docker stage with "Could not load /web/src/lib/utils ... ENOENT"
even after fixing __dirname for ESM. Some interaction between act/buildx
and Vite's resolver around tsconfig paths. Relative imports sidestep the
issue entirely and are explicit about the dependency direction.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-25 12:51:06 +00:00
parent ad2a6e6400
commit 5718b8dfc9
10 changed files with 22 additions and 22 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import { Deal } from "@/api/types";
import { formatCurrencyILS, formatDate, formatNumber } from "@/lib/utils";
import { Deal } from "../api/types";
import { formatCurrencyILS, formatDate, formatNumber } from "../lib/utils";
interface Props {
deals: Deal[];