Adopt esbuild for monaco-typescript

This commit is contained in:
Alexandru Dima 2021-11-12 13:26:25 +01:00
parent c0d4493bd9
commit dcbd8121d9
No known key found for this signature in database
GPG key ID: 39563C1504FDD0C9
15 changed files with 66 additions and 335 deletions

View file

@ -347,8 +347,6 @@ function ESM_pluginStream(plugin, destinationPath) {
}
}
contents = contents.replace(/\/\/# sourceMappingURL=.*((\r?\n)|$)/g, '');
data.contents = Buffer.from(contents);
this.emit('data', data);
}