nuxt-community / pwa-module

Zero config PWA solution for Nuxt.js
https://pwa.nuxtjs.org
MIT License
1.23k stars 171 forks source link

Any way to use custom urls prefix for icons or `build.publicPath`? #531

Open vedmant opened 1 year ago

vedmant commented 1 year ago

I'm using serverless deployment and deploy compiled dist/client to and S3 bucket, so my labmda function is only serving SSR rendered content, when all static data is loaded from buckets.

I also use nuxt config: build.publicPath to point to my bucket. However this module doesn't take this into account and generates relative links to current domains instead.

Is there any way to make it load icon from build.publicPath instead?