It would be nice to have the generated import statements in the top of a file trace back to the originating.imports.js file.
Unfortunately, it looks like this is not possible for the time being, according to this comment in the Babel source:
This assumes the output map always has a single source, since Babel always compiles a single source file to a single output file.
Leaving this issue up for tracking/discussion purposes.
It would be nice to have the generated
importstatements in the top of a file trace back to the originating.imports.jsfile.Unfortunately, it looks like this is not possible for the time being, according to this comment in the Babel source:
Leaving this issue up for tracking/discussion purposes.