10 lines
176 B
JavaScript
Executable File
10 lines
176 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
// Usage:
|
|
// babel-compile-async.js [filename]
|
|
import babel from "../../lib/index.js";
|
|
|
|
process.stdout.write(
|
|
JSON.stringify(babel.transformSync(""))
|
|
);
|