Skip to content

Commit

Permalink
Merge pull request processing#3909 from outofambit/chore/babel-grunt-…
Browse files Browse the repository at this point in the history
…tasks

transpile grunt tasks with babel register
  • Loading branch information
outofambit authored Jul 26, 2019
2 parents 6e5146c + 665302f commit 76f9bc2
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 73 deletions.
6 changes: 6 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@
* all-contributors generate - Generates new contributors list for README
*/

// these requires allow us to use es6 features such as
// `import`/`export` and `async`/`await` in the Grunt tasks
// we load from other files (`tasks/`)
require('regenerator-runtime/runtime');
require('@babel/register');

function getYuidocOptions() {
const BASE_YUIDOC_OPTIONS = {
name: '<%= pkg.name %>',
Expand Down
Loading

0 comments on commit 76f9bc2

Please sign in to comment.