vite-pwa / docs

Documentation: PWA integrations for Vite and the ecosystem
https://vite-pwa-org.netlify.app/
MIT License
196 stars 42 forks source link

[BUG]: custom envPrefix doesn't work when building #130

Open dinwwwh opened 5 months ago

dinwwwh commented 5 months ago

When I use the envPrefix option for my vite config. The VitePWA plugin does not reflect that prefix still uses VITE_ as the default

Notice: It works fine during development, but when building it, it doesn't function as expected.