For vite-plugin-pwa Version ^0.14.4 the createPWA function was not found so I checked the file and saw VitePWA instead and I used it.
Another thing though. If you are not using type: module in your package.json, in the pwa.config.js file, use the export keyword to export all properties that would be used to generate the manifest file
Simon Ugorji
Great article! Thank you
I noticed something though
For vite-plugin-pwa Version ^0.14.4 the createPWA function was not found so I checked the file and saw VitePWA instead and I used it.
Another thing though. If you are not using type: module in your package.json, in the pwa.config.js file, use the export keyword to export all properties that would be used to generate the manifest file
I hope this helps someone