troll
troll copied to clipboard
gjspack: Use rollup
Since GNOME 49, gjs supports Source Maps https://gitlab.gnome.org/GNOME/gjs/-/issues/474
gjspack was built with a custom parser/transformer to inline import substitutions and keep readable stacktraces
We could now use Rollup and a custom plugin to achieve what gjspack does in a simpler and more robust way. It will make it easier to extend gjspack with new features too.
https://rollupjs.org/plugin-development/