4 ms·
rich_harris Yet another great project. Thanks. Question - how to have buble accept input from stdin and output to stdout? This is useful for quick ES6 tests an
by aspiringuser 10y ago
rich_harris Yet another great project. Thanks.
Question - how to have buble accept input from stdin and output to stdout? This is useful for quick ES6 tests and chaining piped output.
buble with no args prints help. Would be more useful if it just started parsing code from stdin as babel 5.x did.
- rich_harris 10y agoThanks! It does accept input from stdin and direct to stdout if you do e.g. cat somefile.js | buble – can you explain in more detail what you mean? (Or better yet raise an issue :)
- aspiringuser 10y ago`cat | buble` did the trick! Thanks.