mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 07:00:11 +01:00
Fixes #2460
This commit is contained in:
parent
3a7c892f01
commit
d2adc1dcd9
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue