--output produces incorrect file name with --input files with .jsx suffix
Bublé version 0.14.2
$ cat abc.jsx
var x = <Foo><Bar /></Foo>;
$ buble abc.jsx -o abc.js
Notice that the file ab.js
was produced instead of the expected abc.js
$ cat abc.js
cat: abc.js: No such file or directory
$ cat ab.js
var x = React.createElement( Foo, null, React.createElement( Bar, null ) );