Michael Neil
Michael Neil
I have tried this with webpack and have not got it working the way I'd like yet enough to propose both the correct webpack config or changes to the distribution...
Not the best for for bundle size but the data file could be bases64 encoded and inlined into the asm.js. THe benefit of that is loading / setup on the...
I've put together a [sample webpack application that loads pyodide](https://github.com/mneil/pyodide-webpack). I avoided processing the pyodide.js file at all as well as handled copying the files out of node modules into...
I just pulled the v20 off the cdn, to see how it resolves these and I'm realizing that it's not broken. It's that the other wheels that pyodide has internally...
I ran into this today while trying to install packages where I need to pass options. It's unclear, with the automatic install, how to set options. Specifically, in my case,...
The purpose of copying these files is so that the webpage loading pyodide knows where to find them. Emscripten does a bunch of implicit loading aided by the rollup.js config...
Also, FWIW, I have pyodide working in a still private React repository that I will share in the future.
I've scaffolded a plugin for webpack that is currently just the example from webpack docs. But I did take a stab at all the supporting docs around it as well...
Updated the plugin to be what I think is feature complete. It's missing any meaningful tests although I can confirm it works and have been testing it against https://github.com/mneil/pyodide-webpack/tree/index-url. I...
I plan to maintain the plugin as I have a personal interest in using it and in wasm / pyodide. I can commit some time each week to answering questions...