build: add workbox-window as explicit devDependency #62
2 changed files with 5 additions and 1 deletions
build: add workbox-window as explicit devDependency
Required for pnpm strict-hoisting builds (used by aiolabs/server-deploy NixOS builds). Without it as a direct dep, Rollup can't resolve `workbox-window` from vite-plugin-pwa's virtual:pwa-register module — npm's flat hoisting masked this previously.
commit
874d2a9ed8
|
|
@ -106,7 +106,8 @@
|
|||
"vite-plugin-inspect": "^0.8.3",
|
||||
"vite-plugin-pwa": "^0.21.1",
|
||||
"vue-tsc": "^2.2.0",
|
||||
"web-push": "^3.6.7"
|
||||
"web-push": "^3.6.7",
|
||||
"workbox-window": "^7.3.0"
|
||||
},
|
||||
"build": {
|
||||
"appId": "com.yourdomain.aio-shadcn-vite",
|
||||
|
|
|
|||
3
pnpm-lock.yaml
generated
3
pnpm-lock.yaml
generated
|
|
@ -195,6 +195,9 @@ importers:
|
|||
web-push:
|
||||
specifier: ^3.6.7
|
||||
version: 3.6.7
|
||||
workbox-window:
|
||||
specifier: ^7.3.0
|
||||
version: 7.4.1
|
||||
|
||||
packages:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue