@@ -383,18 +383,6 @@ function entrypointBuildTask(options) {
383383 return { build, bundle, shim, main, watch } ;
384384}
385385
386- const { main : tsc , watch : watchTsc } = entrypointBuildTask ( {
387- name : "tsc" ,
388- description : "Builds the command-line compiler" ,
389- buildDeps : [ generateDiagnostics ] ,
390- project : "src/tsc" ,
391- srcEntrypoint : "./src/tsc/tsc.ts" ,
392- builtEntrypoint : "./built/local/tsc/tsc.js" ,
393- output : "./built/local/tsc.js" ,
394- mainDeps : [ generateLibs ] ,
395- } ) ;
396- export { tsc , watchTsc } ;
397-
398386const { main : services , build : buildServices , watch : watchServices } = entrypointBuildTask ( {
399387 name : "services" ,
400388 description : "Builds the typescript.js library" ,
@@ -408,6 +396,19 @@ const { main: services, build: buildServices, watch: watchServices } = entrypoin
408396} ) ;
409397export { services , watchServices } ;
410398
399+ const { main : tsc , watch : watchTsc } = entrypointBuildTask ( {
400+ name : "tsc" ,
401+ description : "Builds the command-line compiler" ,
402+ buildDeps : [ generateDiagnostics ] ,
403+ project : "src/tsc" ,
404+ srcEntrypoint : "./src/tsc/tsc.ts" ,
405+ builtEntrypoint : "./built/local/tsc/tsc.js" ,
406+ output : "./built/local/tsc.js" ,
407+ mainDeps : [ generateLibs , services ] ,
408+ bundlerOptions : { usePublicAPI : true } ,
409+ } ) ;
410+ export { tsc , watchTsc } ;
411+
411412export const dtsServices = task ( {
412413 name : "dts-services" ,
413414 description : "Bundles typescript.d.ts" ,
0 commit comments