mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 07:00:11 +01:00
Adopt esbuild for monaco-typescript
This commit is contained in:
parent
c0d4493bd9
commit
dcbd8121d9
15 changed files with 66 additions and 335 deletions
|
|
@ -142,6 +142,9 @@ function dts(_source, _destination, namespace) {
|
|||
if (/^import/.test(line)) {
|
||||
continue;
|
||||
}
|
||||
if (line === 'export {};') {
|
||||
continue;
|
||||
}
|
||||
line = line.replace(/ /g, '\t');
|
||||
line = line.replace(/declare /g, '');
|
||||
if (line.length > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue