From d2adc1dcd99aebd4adcb23308987d264b295dc74 Mon Sep 17 00:00:00 2001 From: Alex Dima Date: Wed, 12 May 2021 14:24:55 +0200 Subject: [PATCH] Fixes #2460 --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 92bd2788..61502e63 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -241,7 +241,7 @@ function ESM_pluginStream(plugin, destinationPath) { pluginPath + '/**/*' ]) .pipe(es.through(function(data) { - if (!/\.js$/.test(data.path)) { + if (!/(\.js$)|(\.ts$)/.test(data.path)) { this.emit('data', data); return; }