mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
54 lines
1.0 KiB
TypeScript
54 lines
1.0 KiB
TypeScript
currentDirectory::/home/src/workspaces/project
|
|
useCaseSensitiveFileNames::true
|
|
Input::
|
|
//// [/home/src/workspaces/project/src/index.ts] *new*
|
|
export const a = 1;
|
|
//// [/home/src/workspaces/project/tsconfig.json] *new*
|
|
{
|
|
"compilerOptions": {
|
|
"esModuleInterop": true,
|
|
"target": "es5",
|
|
"module": "commonjs",
|
|
"strict": true
|
|
},
|
|
"compileOnSave": true,
|
|
"exclude": [
|
|
"dist"
|
|
],
|
|
"files": [],
|
|
"include": [
|
|
"src/*"
|
|
],
|
|
"references": [
|
|
{ "path": "./test" }
|
|
]
|
|
}
|
|
|
|
tsgo -p tsconfig.json --showConfig
|
|
ExitStatus:: Success
|
|
Output::
|
|
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"strict": true,
|
|
"target": "es5",
|
|
"esModuleInterop": true,
|
|
"useDefineForClassFields": false
|
|
},
|
|
"references": [
|
|
{
|
|
"path": "./test"
|
|
}
|
|
],
|
|
"files": [
|
|
"./src/index.ts"
|
|
],
|
|
"include": [
|
|
"src/*"
|
|
],
|
|
"exclude": [
|
|
"dist"
|
|
],
|
|
"compileOnSave": true
|
|
}
|