PWA accessing local files and importing local modules with pyodide/panel convert

I am trying to use panel convert to build a progressive web app to make a desktop panel app.
How easy is it to allow your PWA to access local files?

I was also having troubles with importing local files. I have a multipage app as part of a larger package and there are some imports like from local_package.sub_package import x and it couldn’t find those. Which from my understanding has to do with those files not being copied to the virtual file system. But I don’t know how to get those to work, at least with panel convert . I saw some things of how I can do it if I was directly using pyodide, but not pane convert