Skip to content

Add .cts file extension #89

@cspotcode

Description

@cspotcode

Before you open this issue, please complete the following tasks:

  • use the search bar at the top of the page to search this repository for similar issues or discussions that have already been opened.

Our thoughts on feature requests

Lots of developers rely on gulp, so we don't make big changes very often. Not every feature request will be added to gulp, but hearing about what you want is important. Don't be afraid to submit a feature request!

Describe your idea for a new feature

Add .cts file extension, with the same treatment as .ts.

Explain the problem your idea is trying to solve

In projects with package.json "type": "module", .ts files are treated as native ESM, so people may choose to write their config files with a .cts file extension instead. This file extension is supported by TypeScript and ts-node.

How will it benefit gulp and its users?

Users can write config files with the .cts file extension, and interpret will be able to execute them.

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