single-spa / single-spa-inspector

A devtools extension for single-spa applications
https://single-spa.js.org
MIT License
76 stars 17 forks source link

Not showing utility mfe or root-config (SystemJS modules that are not single-spa apps) #45

Closed TheMcMurder closed 1 year ago

TheMcMurder commented 4 years ago

Currently the inspector only shows registered applications and it doesn't show any other mfe types.

This introduces a weird disconnect where this tool doesn't work great with the recommended approach. Import-map-overrides has features this doesn't have that directly relate to a single-spa application.

filoxo commented 4 years ago

Not showing those makes sense though, they're not single-spa applications so getRawAppData can't include them.

I do agree though, maybe we can instead reimplement the functionality to find all importmap module and allow overriding them from within this extension. Maybe as a separate tab? Like what the newest version of the React Devtools have done.

TheMcMurder commented 4 years ago

That's sort of what I was thinking. Leave the existing behavior as is but add a new tab that could function as an optional replacement for the import-map-overrides tool for people who want it.