gulpjs/gulp

TypeScript Module `gulpfile.mts` Not Supported

Open

#2,705 opened on Nov 15, 2022

View on GitHub
 (2 comments) (2 reactions) (0 assignees)JavaScript (4,166 forks)batch import
help wanted

Repository metrics

Stars
 (32,979 stars)
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. The above applies to gulpfile.esm.ts and gulpfile.babel.mts and gulpfile.babel.mjs too.

Contributor guide