gzuidhof/coi-serviceworker

Consider including Vite plugin?

jcbhmr opened this issue · 1 comments

jcbhmr commented

It would be very cool if there was a Vite or other bundler plugin that could just be plopped in with zero config to make SharedArrayBuffer work for static deployments to eg GitHub Pages.

idea: just inject the AiO <script> tag into the final index.html via said plugin!

jcbhmr commented

Given #16 i think this is better suited to an example/demo