function index()

in gulpfile.js/tasks/index.js [17:33]


function index() {
    let tasks = [];

    indexFormats.map((format) => {
        tasks.push(gulp.src('tokens/_index.yml')
            .pipe(gulpTheo({
                transform: { includeMeta: true },
                format: { type: format }
            }))
            .pipe(rename(function(path) {
                path.basename = 'index';
            }))
            .pipe(gulp.dest('dist/')));
    });

    return merge(tasks);
}