Aierie

Results 6 comments of Aierie

If someone wants to use pyodide from a background script in a Chrome Extension with manifest v3, they would encounter this problem (+others, since it is a service worker with...

I've created a repo to demonstrate changes necessary to use Pyodide in a module-type service worker: https://github.com/Aierie/pyodide-for-v3-extension There are 3 changes necessary to enable use Pyodide in a module-type service...

re: static import, would the approach in https://github.com/pyodide/pyodide/pull/3070 work? I'm concerned that changing to a static import surprises people who don't expect importing `loadPyodide` to be heavy, since it hasn't...

It seems like `wasm-unsafe-eval` is the recommended one to use for now. [Chrome](https://chromestatus.com/feature/5499765773041664), [Safari](https://bugs.webkit.org/show_bug.cgi?id=235408), and [Firefox](https://bugzilla.mozilla.org/show_bug.cgi?id=1740263) seem to have implemented it. Would you like me to summarize the current discussion...

`strip_prefix` for me seems to be trying to strip the wildcard (*) from the path as well. It was possible for me to circumvent this issue by doing `app.at("/").serve_dir("my_dir")` instead...

Hi @tinanoob . Thanks for your investigation, it helped me get started. You can try this as an alternative - hooking into vite's filesystem watcher: ``` "astro:server:setup": ({ server, refreshContent...