Example usage of pyodide webpack plugin. Download / copy the example folder you wish to try out and run the following commands:
npm i
npm run serve
This will install the necessary dependencies and start webpack dev server. Open your browser to the URL output in the terminal and view the develop console to see the output of pyodide.