This commit is contained in:
Alex Dima 2021-05-12 14:24:55 +02:00
parent 3a7c892f01
commit d2adc1dcd9
No known key found for this signature in database
GPG key ID: 6E58D7B045760DA0

View file

@ -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;
}