Skip to content

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

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';

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions