I am using jspm and SystemJS to import ES2015 modules.
Is it possible to get a list of all imported modules in a project through a System object or elsewhere? I can access my project-related modules through System._loader.moduleRecords , but the modules I installed through jspm (e.g. d3 , jquery ) do not appear in this list.
System._loader.modules contains a list of all the modules, but, unfortunately, also includes a list of modules needed to transfer my code and package loading modules.
System._loader.moduleRecords (project modules) 
System._loader.modules (project modules, libraries, forwarding packages) 
I only need a list of declared imports, in particular those that I imported using import x from 'x' . . This should include both project modules and libraries, but not related to babel / module loading modules. I would like the solution to not include filtering using regular expressions.
source share