@@ -22,7 +22,7 @@ function generateTscCommandAndTempTsConfig(bsConfig, bstack_node_modules_path, c
22
22
// Prepare base temp tsconfig
23
23
const tempTsConfig = {
24
24
compilerOptions : {
25
- "outDir" : `./ ${ path . basename ( complied_js_dir ) } ` , // Add ./ prefix for consistency
25
+ "outDir" : `${ path . basename ( complied_js_dir ) } ` , // Add ./ prefix for consistency
26
26
"listEmittedFiles" : true ,
27
27
"allowSyntheticDefaultImports" : true ,
28
28
"module" : "commonjs" ,
@@ -65,12 +65,14 @@ function generateTscCommandAndTempTsConfig(bsConfig, bstack_node_modules_path, c
65
65
? `set NODE_PATH=${ bstack_node_modules_path } `
66
66
: `NODE_PATH="${ bstack_node_modules_path } "` ;
67
67
68
- const tscCommand = `${ setNodePath } && node "${ typescript_path } " --project "${ tempTsConfigPath } " && ${ setNodePath } && node "${ tsc_alias_path } " --project "${ tempTsConfigPath } "` ;
68
+ const tscCommand = `${ setNodePath } && node "${ typescript_path } " --project "${ tempTsConfigPath } " && ${ setNodePath } && node "${ tsc_alias_path } " --project "${ tempTsConfigPath } " --verbose` ;
69
+ logger . info ( `TypeScript compilation command: ${ tscCommand } ` ) ;
69
70
return { tscCommand, tempTsConfigPath } ;
70
71
} else {
71
72
// Unix/Linux/macOS: Use ; to separate commands or && to chain
72
73
const nodePathPrefix = `NODE_PATH=${ bsConfig . run_settings . bstack_node_modules_path } ` ;
73
- const tscCommand = `${ nodePathPrefix } node "${ typescript_path } " --project "${ tempTsConfigPath } " && ${ nodePathPrefix } node "${ tsc_alias_path } " --project "${ tempTsConfigPath } "` ;
74
+ const tscCommand = `${ nodePathPrefix } node "${ typescript_path } " --project "${ tempTsConfigPath } " && ${ nodePathPrefix } node "${ tsc_alias_path } " --project "${ tempTsConfigPath } " --verbose` ;
75
+ logger . info ( `TypeScript compilation command: ${ tscCommand } ` ) ;
74
76
return { tscCommand, tempTsConfigPath } ;
75
77
}
76
78
}
0 commit comments