Skip to content

Commit

Permalink
Set caller metadata for grunt-babel
Browse files Browse the repository at this point in the history
  • Loading branch information
loganfsmyth committed Sep 5, 2018
1 parent 990bd49 commit a9c48fd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tasks/babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ module.exports = function(grunt) {
const options = Object.assign({}, this.options());
delete options.filename;
delete options.filenameRelative;
options.caller = Object.assign(
{
name: "grunt-babel",
},
options.caller
);

// Async reduce so that the files are written and logged in order.
this.files
Expand Down

0 comments on commit a9c48fd

Please sign in to comment.