Skip to content

Add support for gulpfile.cjs #2653

@david-bojnansky

Description

@david-bojnansky

Describe your idea for a new feature

Add support for gulpfile.cjs

Explain the problem your idea is trying to solve

In package.json I have type set to module but I would like to have gulpfile in CommonJS format (.cjs) with require()s. Seems like not possible now.

How will it benefit gulp and its users?

They could code Gulp tasks in CommonJS format without to worry about module type.

If this feature could exist outside of gulp (like as a plugin or a module), would you be interested in helping to create and maintain it?

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