The CLI command mentioned in the issue you mention is babel-external-helpers , which is part of the babel-cli npm package. If babel-cli installed, running babel-external-helpers --help gives the following output:
Usage: babel-external-helpers [options] Options: -h, --help output usage information -l, --whitelist [whitelist] Whitelist of helpers to ONLY include -t, --output-type [type] Type of output (global|umd|var)
It simply outputs the file to stdout, so to print the code into a file, you do babel-external-helpers [options] > babel-helpers.js .
source share