react-py
react-py copied to clipboard
allow different pyodide
Allow a diffferent pyodide, for example:
In pyodide_worker.ts
importScripts('https://cdn.jsdelivr.net/pyodide/v0.23.4/full/pyodide.js')
How about something like:
importScripts(window.PYODIDE_SCRIPT || 'https://cdn.jsdelivr.net/pyodide/v0.23.4/full/pyodide.js')
Any updates on this @elilambnz? It would be nice to support either the latest version of pyodide or allow someone to specify what pyodide version they want. Ideally, incorporating something like @pyodide/webpack-plugin would be cool, so you can install whatever version of pyodide from npm/yarn.