You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are few questions / issues about using Pyodide with bundlers like Webpack or Rollup or Vite.
Or more generally, people often ask "How can I use Pyodide in X?", where X can be React, Vue.js, React Native, Percel, etc.
This issue is to discuss how we will address such questions in the future.
In a prior discussion about webpack (#4294), @mneil mentioned that
My opinion is that the library should not make any assumptions about how it will be consumed.
Users choosing to bundle with webpack need to understand the implications of choosing that tool and how to work with it.
Rollup, Turbopack, esbuild, Webpack, and other tools exist to do the same thing.
I'm not sure pyodide should attempt to do anything specifically for one or more of these tools.
And I totally agree with this.
So I think what we should do is to
Encourage users who are familiar with those bundlers to make tools / plugins that make it easier to use Pyodide with those bundlers.
We need to make it easier for users to find those tools / plugins, by adding documentations and actively mentioning them in the issue tracker.
For those who came here to find out how to use Pyodide with bundlers, here are some links to existing tools / plugins.
There are few questions / issues about using Pyodide with bundlers like Webpack or Rollup or Vite.
Or more generally, people often ask "How can I use Pyodide in X?", where X can be React, Vue.js, React Native, Percel, etc.
This issue is to discuss how we will address such questions in the future.
In a prior discussion about webpack (#4294), @mneil mentioned that
And I totally agree with this.
So I think what we should do is to
For those who came here to find out how to use Pyodide with bundlers, here are some links to existing tools / plugins.
The text was updated successfully, but these errors were encountered: