pyscript / polyscript

Polyscript - PyScript single core to rule them all
Apache License 2.0
48 stars 4 forks source link

Removed the ugly `base` WeakMap workaround #103

Closed WebReflection closed 5 months ago

WebReflection commented 5 months ago

This MR goal is to cleanup a bit of indirection to retrieve the correct config baseURL from where both main thread and worker related interpreters should be able to resolve dependencies out of the blob:// and out of the blue for path and files or fetch related operations, including packages in MicroPython case.

This MR also removes spread utilities within the esm folder so that all 3rd-party modules are now part of the unique 3rd-party.js file.