You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default value of globPatterns is ["**/*.{js,css,html}"]
I think it would be perfectly reasonable to also serve wasm files through workbox by changing this default to ["**/*.{js,wasm,css,html}"]
Javascript and wasm are supposed to be used together. Having Javascript served through workbox while wasm through the network can result in a confusing version mismatch, footgunning future devlopment.
I originally came from this issue raised by another developer who shared a similar sentiment vite-pwa/vite-plugin-pwa#308
The text was updated successfully, but these errors were encountered:
The default value of globPatterns is ["**/*.{js,css,html}"]
I think it would be perfectly reasonable to also serve wasm files through workbox by changing this default to ["**/*.{js,wasm,css,html}"]
Javascript and wasm are supposed to be used together. Having Javascript served through workbox while wasm through the network can result in a confusing version mismatch, footgunning future devlopment.
I originally came from this issue raised by another developer who shared a similar sentiment vite-pwa/vite-plugin-pwa#308
The text was updated successfully, but these errors were encountered: