Files
unordered-ui-bundle/tasks/lib/export-tasks.js
Dan Allen 260cc89833 migrate build to Gulp 4
- upgrade to Gulp 4
- refactor tasks to use Gulp 4 task system
- switch from map-stream to through2.obj
- switch from fs to fs-extra
- fix Gulp prettier+eslint integration
- rename tasks
2018-12-28 08:19:21 +00:00

5 lines
155 B
JavaScript

'use strict'
module.exports = (...tasks) =>
tasks.reduce((acc, task) => (acc[task.displayName || task.name] = task) && acc, { default: tasks.shift() })