diff --git a/docs/tsconfig/ko/options/composite.md b/docs/tsconfig/ko/options/composite.md new file mode 100644 index 00000000..d1b5ce29 --- /dev/null +++ b/docs/tsconfig/ko/options/composite.md @@ -0,0 +1,16 @@ +--- +display: "Composite" +oneline: "Enable constraints that allow a TypeScript project to be used with project references." +--- + +`composite` 옵션은 아직 빌드되지 않은 프로젝트의 빠른 빌드 설정을 위해 빌드 도구(`—build` 모드에서 TypeScript를 포함한)에 특정 조건을 적용합니다. + +이 설정이 켜져 있으면: + +- 만약 `rootDir` 설정이 설정되어 있지 않다면, 기본값은 'tsconfig.json' 파일을 포함하는 디렉터리입니다. + +- 모든 실행 파일은 `include` 패턴과 일치하거나 `파일` 배열에 나열되어야 합니다. 만약 이 제약 조건을 위반하면, 'tsc'는 지정되지 않은 파일을 알려줍니다. + +- `declaration`의 기본값은 `true` 입니다. + +TypeScript 프로젝트에 대한 문서는 [핸드북](https://www.typescriptlang.org/docs/handbook/project-references.html)에서 확인할 수 있습니다. diff --git a/docs/tsconfig/ko/options/listFiles.md b/docs/tsconfig/ko/options/listFiles.md new file mode 100644 index 00000000..3f66975e --- /dev/null +++ b/docs/tsconfig/ko/options/listFiles.md @@ -0,0 +1,40 @@ +--- +display: "List Files" +oneline: "Print all of the files read during the compilation." +--- + +컴파일하는 파일 이름을 출력합니다. +이 기능은 TypeScript에 예상한 파일이 포함되어 있는지 확실하지 않을 때 유용합니다. + +예를들면: + +``` +example +├── index.ts +├── package.json +└── tsconfig.json +``` + +다음과 같습니다: + +```json tsconfig +{ + "compilerOptions": { + "listFiles": true + } +} +``` + +echo paths는 다음과 같습니다: + +``` +$ npm run tsc +path/to/example/node_modules/typescript/lib/lib.d.ts +path/to/example/node_modules/typescript/lib/lib.es5.d.ts +path/to/example/node_modules/typescript/lib/lib.dom.d.ts +path/to/example/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +path/to/example/node_modules/typescript/lib/lib.scripthost.d.ts +path/to/example/index.ts +``` + +TypeScript 4.2 버전을 사용할 경우 [`explainFiles`](#explainFiles)을 참조하십시오. 파일이 추가된 이유에 대한 설명 또한 제공합니다.