gulpjs / gulpjs/gulp

TypeScript Module `gulpfile.mts` Not Supported

Open
#2,705 2 comments 2 reactions 0 assignees View on GitHub
help wanted
Dominant language
JavaScript
Stars
32.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

I want to use TypeScript with a `.mjs` (module) Gulpfile. So I renamed my gulpfile to `gulpfile.mts`, but it says `No gulpfile found`.
TypeScript says it supports the `.mts` extension [here](https://www.typescriptlang.org/docs/handbook/esm-node.html).
The above applies to `gulpfile.esm.ts` and `gulpfile.babel.mts` and `gulpfile.babel.mjs` too.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.