mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 11:35:40 +01:00
Use esbuild also for AMD variant
This commit is contained in:
parent
63e425ffe2
commit
829ee45850
5 changed files with 85 additions and 100 deletions
|
|
@ -81,8 +81,8 @@ exports.removeDir = removeDir;
|
|||
*/
|
||||
function tsc(_projectPath) {
|
||||
const projectPath = path.join(REPO_ROOT, _projectPath);
|
||||
console.log(`Launching compiler at ${_projectPath}...`);
|
||||
cp.spawnSync(process.execPath, [path.join(__dirname, '../node_modules/typescript/lib/tsc.js'), '-p', projectPath], { stdio: 'inherit', stderr: 'inherit' });
|
||||
|
||||
console.log(`Compiled ${_projectPath}`);
|
||||
}
|
||||
exports.tsc = tsc;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue