Pass the caller.name option in Babel's own callers.

This commit is contained in:
Logan Smyth
2018-08-16 16:35:49 -07:00
parent 8d6ed7e0aa
commit 90bebe7186
3 changed files with 17 additions and 0 deletions

View File

@@ -60,6 +60,9 @@ program.usage("[options] [ -e script | script.js ] [arguments]");
program.parse(process.argv);
register({
caller: {
name: "@babel/node",
},
extensions: program.extensions,
ignore: program.ignore,
only: program.only,