From 1c59ca63f31e84440939be964023717981d5736e Mon Sep 17 00:00:00 2001 From: Sam Reid Date: Mon, 14 Oct 2024 15:25:37 -0600 Subject: [PATCH] Remove memory heap specification, not needed with project references, see https://github.com/phetsims/chipper/issues/1415 --- js/scripts/absolute-tsc.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/js/scripts/absolute-tsc.js b/js/scripts/absolute-tsc.js index a8b6cd73..0c30ae34 100644 --- a/js/scripts/absolute-tsc.js +++ b/js/scripts/absolute-tsc.js @@ -43,10 +43,7 @@ if ( !args || args.length === 0 ) { // console.log( 'changes detected...' ); const results = await execute( 'node', [ `${__dirname}/../../../chipper/node_modules/typescript/bin/tsc`, '-b' ], args[ 0 ], { - errors: 'resolve', - - // TODO: it would be nice not to need this, https://github.com/phetsims/chipper/issues/1415 - childProcessEnv: { NODE_OPTIONS: '--max-old-space-size=8192' } + errors: 'resolve' } ); // If there was a problem running tsc, report it here. The type errors are reported on stdout below.