File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
tools/@aws-cdk/cdk-build-tools/config Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 66
77const isCi = ! ! process . env . CI || ! ! process . env . CODEBUILD_BUILD_ID ;
88
9- const thisPackageName = require ( `${ process . cwd ( ) } /package.json` ) ;
9+ const thisPackageName = require ( `${ process . cwd ( ) } /package.json` ) . name ;
1010const isExceptedPackage = [ '@aws-cdk/custom-resource-handlers' ] . includes ( thisPackageName ) ;
1111
1212module . exports = isCi && ! isExceptedPackage ? 'js' : 'ts' ;
Original file line number Diff line number Diff line change 44// iteration (save -> run), but on CI machines we want to run the compiled
55// JavaScript for highest throughput.
66
7- const isCi = ! ! process . env . CI || ! ! process . env . CODEBUILD_BUILD_ID ;
8- const ext = isCi ? 'js' : 'ts' ;
7+ const ext = require ( './ext' ) ;
98
109module . exports = {
1110 // The preset deals with preferring TS over JS
You can’t perform that action at this time.
0 commit comments