Skip to content

export "task", "parallel" and "series" from package #7

@eddyloewen

Description

@eddyloewen

Currently one has to import task, parallel and series from gulp in order to define and register the tasks.

import { tasks, options } from '@webtides/tasks';
import { task, parallel, series } from 'gulp';

task('cleanAndCopy', series(tasks.clean(), tasks.copy()));

This will also lead to an IDE error for "gulp" saying: "Module is not listed in package.json dependencies".

It would be nice if we could find a way to export those functions from the tasks module as well.

import { tasks, options, task, parallel, series  } from '@webtides/tasks';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions