Remove emitDeclarationOnly hack now that build mode supports it as a flag (#51795)

This commit is contained in:
Jake Bailey
2022-12-06 16:02:23 -08:00
committed by GitHub
parent 84e475c105
commit 4ac75fa2b6
2 changed files with 3 additions and 34 deletions

View File

@@ -35,7 +35,7 @@ const execTsc = (/** @type {string[]} */ ...args) =>
"-b", ...args],
{ hidePrompt: true });
const projectBuilder = new ProjectQueue((projects) => execTsc(...projects));
const projectBuilder = new ProjectQueue((projects) => execTsc(...(cmdLineOptions.bundle ? [] : ["--emitDeclarationOnly", "false"]), ...projects));
/**
* @param {string} project