From 123601939cdc479f5138da66e891e762c914461f Mon Sep 17 00:00:00 2001 From: Jose Selesan Date: Mon, 19 Oct 2026 13:18:16 -0300 Subject: [PATCH] fix(web): declare workbox-window so the Docker build resolves it virtual:pwa-register imports workbox-window, a transitive dependency of vite-plugin-pwa. It resolved locally only because the global bunfig uses the hoisted linker; the Docker image installs with Bun's isolated linker, where undeclared packages are not reachable from apps/web. Co-Authored-By: Claude Opus 5.5 --- apps/web/package.json | 1 + bun.lock | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/web/package.json b/apps/web/package.json index d943b2f..a2a6017 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -31,6 +31,7 @@ "recharts": "^3.10.1", "sonner": "^2.0.8", "tailwind-merge": "^3.7.0", + "workbox-window": "^7.4.1", "zod": "^4.6.7" }, "devDependencies": { diff --git a/bun.lock b/bun.lock index f4ea4e1..98c4b88 100644 --- a/bun.lock +++ b/bun.lock @@ -56,6 +56,7 @@ "recharts": "^3.10.1", "sonner": "^2.0.8", "tailwind-merge": "^3.7.0", + "workbox-window": "^7.4.1", "zod": "^4.6.7", }, "devDependencies": {