Does Buble CLI consume a sourcemap?
Out of curiosity, I was wondering if I could pipe through sourcemaps across tools and have the last tool output it to a file. It would make a good one-liner, bundle+transpile+compress command. So as an experiment, I set Rollup to pipe to Buble, both inlining their sourcemaps for now just to see if this sorcery works. The expectation was that the output file would map back to the original source, the one fed to Rollup.
rollup --format umd --name MyModule --sourcemap inline src/my-module.js | buble --sourcemap inline > build/my-module.js
Tested the output of Rollup alone on a browser, the sourcemap works fine. I get the original file name and the line number in dev tools. But when testing the output of Buble when fed the Rollup output, it did transpile but only mapped to the bundled output of Rollup. It didn't map all the way back to the source.
Does Buble parse source maps? Am I even doing it right? Is what I am doing even possible?