why nuxt prepends `__url` on dev server for client?
I have a dev server middleware in the pwa plugin that serves the webmanifest and service worker for development.
The problem is that middleware receives the webmanifest and the service worker requests prefixed with
The problem comes when using
The problem is here: https://github.com/nuxt/framework/blob/main/packages/vite/src/client.ts#L112
The problem is that middleware receives the webmanifest and the service worker requests prefixed with
/__url: I can bypass it using: The problem comes when using
generateSW strategy, since the request to the service worker will generate a workbox-**.js asset and we don't know the name: the pwa dev server middleware also serves this asset, all workbox-build stuff (js and map assets) are stored once the sw is built and so it can also serve those resources.The problem is here: https://github.com/nuxt/framework/blob/main/packages/vite/src/client.ts#L112
