mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 20:52:56 +01:00
Don't generate .d.ts files in the esm folders
This commit is contained in:
parent
bc3274a7c8
commit
63e425ffe2
3 changed files with 3 additions and 12 deletions
|
|
@ -7,7 +7,7 @@ const esbuild = require('esbuild');
|
|||
const alias = require('esbuild-plugin-alias');
|
||||
const path = require('path');
|
||||
const cp = require('child_process');
|
||||
const { copyFile, removeDir, tsc, dts } = require('../../build/utils');
|
||||
const { removeDir, tsc, dts } = require('../../build/utils');
|
||||
|
||||
removeDir(`monaco-html/release`);
|
||||
removeDir(`monaco-html/out`);
|
||||
|
|
@ -37,7 +37,4 @@ esbuild.build({
|
|||
}
|
||||
});
|
||||
|
||||
copyFile('monaco-html/out/amd/monaco.contribution.d.ts', 'monaco-html/release/esm/monaco.contribution.d.ts');
|
||||
copyFile('monaco-html/out/amd/fillers/monaco-editor-core.d.ts', 'monaco-html/release/esm/fillers/monaco-editor-core.d.ts');
|
||||
|
||||
cp.spawnSync(process.execPath, [path.join(__dirname, './bundle.js')], { stdio: 'inherit', stderr: 'inherit' });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue