We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6533059 commit d57bb16Copy full SHA for d57bb16
1 file changed
index.js
@@ -34,7 +34,11 @@ function Babelify(filename, opts) {
34
stream.Transform.call(this);
35
this._data = "";
36
this._filename = filename;
37
- this._opts = Object.assign({filename: filename}, opts);
+ this._opts = Object.assign({filename: filename}, opts, {
38
+ caller: Object.assign({
39
+ name: "babelify",
40
+ }, opts.caller),
41
+ });
42
}
43
44
Babelify.prototype._transform = function (buf, enc, callback) {
0 commit comments