mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 23:41:08 +02:00
fix(web): add workbox-window as explicit devDependency
vite-plugin-pwa's \`virtual:pwa-register/svelte\` imports workbox-window at build time. The package was resolved transitively via @vite-pwa/ sveltekit but not installed in the webapp's own node_modules when pnpm fetches only the workspace deps in a restricted Docker context. Result: Rollup 'failed to resolve import "workbox-window"' at build. Pinning the direct dep so the Docker build picks it up in the filtered pnpm install. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
eb30d49501
commit
98347cfd89
2 changed files with 4 additions and 0 deletions
|
|
@ -26,6 +26,7 @@
|
|||
"@tailwindcss/vite": "^4.1.7",
|
||||
"@types/node": "^22.10.5",
|
||||
"@vite-pwa/sveltekit": "^1.1.0",
|
||||
"workbox-window": "^7.3.0",
|
||||
"@vitest/coverage-v8": "^4.1.2",
|
||||
"@vitest/ui": "^4.1.2",
|
||||
"autoprefixer": "^10.4.20",
|
||||
|
|
|
|||
3
pnpm-lock.yaml
generated
3
pnpm-lock.yaml
generated
|
|
@ -1208,6 +1208,9 @@ importers:
|
|||
vitest:
|
||||
specifier: ^4.1.2
|
||||
version: 4.1.3(@opentelemetry/api@1.9.1)(@types/node@22.19.17)(@vitest/coverage-v8@4.1.3)(@vitest/ui@4.1.3)(jsdom@29.0.2(@noble/hashes@2.0.1))(vite@6.4.2(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.32.0)(terser@5.46.1)(tsx@4.21.0)(yaml@2.8.3))
|
||||
workbox-window:
|
||||
specifier: ^7.3.0
|
||||
version: 7.4.0
|
||||
|
||||
apps/manavoxel:
|
||||
devDependencies:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue