gulp-esbuild icon indicating copy to clipboard operation
gulp-esbuild copied to clipboard

Wrong output file extension in piping mode

Open ym-project opened this issue 4 years ago • 0 comments

There is a bug in piping: true mode. https://github.com/ym-project/gulp-esbuild/blob/d101b83b5b10595cd9d5cba430e8380d74402db7/index.js#L212 .js will be generated anyway.

The plugin should respects user settings and sets .js extension only by default.

Also according to the esbuild release, esbuild now supports .mts and .cts extensions. So these extensions should be included too.

ym-project avatar Oct 18 '21 12:10 ym-project