12 lines
210 B
JavaScript
Executable File
12 lines
210 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
// Usage:
|
|
// babel-compile-async.js [filename]
|
|
import babel from "../../lib/index.js";
|
|
|
|
(async () => {
|
|
process.stdout.write(
|
|
JSON.stringify(await babel.transformAsync(""))
|
|
);
|
|
})();
|