You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I jut tried vitesse locally and while pnpm dev works just fine, pnpm build fails for me like so:
❯ pnpm build
> @ build /Users/ziga/development/ziga_vitesse
> cross-env NODE_ENV=production vite-ssg build --script async
[vite-ssg] Build for client...
building for production...
/Users/ziga/development/ziga_vitesse/node_modules/.pnpm/workbox-build@6.0.2/node_modules/workbox-build/build/lib/populate-sw-template.js:41
throw new Error(errors['no-manifest-entries-or-runtime-caching']);
^
Error: Couldn't find configuration for either precaching or runtime caching. Please ensure that the various glob options are set to match one or more files, and/or configure the runtimeCaching option.
at module.exports (/Users/ziga/development/ziga_vitesse/node_modules/.pnpm/workbox-build@6.0.2/node_modules/workbox-build/build/lib/populate-sw-template.js:41:11)
at module.exports (/Users/ziga/development/ziga_vitesse/node_modules/.pnpm/workbox-build@6.0.2/node_modules/workbox-build/build/lib/write-sw-using-default-template.js:50:25)
at async generateSW (/Users/ziga/development/ziga_vitesse/node_modules/.pnpm/workbox-build@6.0.2/node_modules/workbox-build/build/generate-sw.js:229:21)
ERROR Command failed with exit code 1.
I figured workbox is used by VitePWA and when I comment out VitePWA from vite.config.ts build succeeds.
The text was updated successfully, but these errors were encountered:
Hi! Awesome template, thanks for sharing!
I jut tried vitesse locally and while
pnpm dev
works just fine,pnpm build
fails for me like so:I figured workbox is used by
VitePWA
and when I comment outVitePWA
fromvite.config.ts
build succeeds.The text was updated successfully, but these errors were encountered: