react-py icon indicating copy to clipboard operation
react-py copied to clipboard

allow different pyodide

Open fullergalway opened this issue 2 years ago • 1 comments

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')

fullergalway avatar Oct 10 '23 05:10 fullergalway

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.

zloveless avatar Jul 08 '24 22:07 zloveless