When using the @vite-pwa/nuxt module in Nuxt3, I encounter the error "require is not defined" during local development. <img width="1146" height="158" alt="Image" src="https://github.com/user-attachments/assets/f15c0467-66dd-47d0-9a29-08ad358335da" /> I don't understand why we need to import a request library from the Nuxt layer here.
When using the @vite-pwa/nuxt module in Nuxt3, I encounter the error "require is not defined" during local development.