Skip to content

Commit a9c48fd

Browse files
committed
Set caller metadata for grunt-babel
1 parent 990bd49 commit a9c48fd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tasks/babel.js

+6
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ module.exports = function(grunt) {
3232
const options = Object.assign({}, this.options());
3333
delete options.filename;
3434
delete options.filenameRelative;
35+
options.caller = Object.assign(
36+
{
37+
name: "grunt-babel",
38+
},
39+
options.caller
40+
);
3541

3642
// Async reduce so that the files are written and logged in order.
3743
this.files

0 commit comments

Comments
 (0)