File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ display : " Composite"
3+ oneline : " Enable constraints that allow a TypeScript project to be used with project references."
4+ ---
5+
6+ ` composite ` 옵션은 프로젝트가 제작되지 않았을 때, 빠른 결정을 하기 위해서 빌드 도구(` —build ` 모드에서 TypeScript를 포함한)를 가능하게 만들기위해 특정 조건을 적용합니다.
7+
8+ 이 설정이 켜져 있는 경우:
9+
10+ - 만약 ` rootDir ` 설정이 명백하게 설정되지 않은 경우, 기본값은 'tsconfig.json' 파일을 포함하는 디렉터리입니다.
11+
12+ - 모든 실행 파일은 ` include ` 패턴으로 일치하거나 ` 파일 ` 배열에 나열되어야 합니다. 만약 이 제약 조건을 위반하면, 'tsc'는 지정되지 않은 파일을 알려줍니다.
13+
14+ - ` declaration ` 의 기본값은 ` true ` 입니다.
15+
16+ TypeScript 프로젝트에 대한 문서는 [ the handbook] ( https://www.typescriptlang.org/docs/handbook/project-references.html ) 에서 확인할 수 있습니다.
Original file line number Diff line number Diff line change 1+ ---
2+ display : " List Files"
3+ oneline : " Print all of the files read during the compilation."
4+ ---
5+
6+ 컴파일 일부의 파일 이름을 출력합니다. 이 기능은 TypeScript에 예상한 파일이 포함되어 있는지 확실하지 않을 때 유용합니다.
7+
8+ 예를들면:
9+
10+ ```
11+ example
12+ ├── index.ts
13+ ├── package.json
14+ └── tsconfig.json
15+ ```
16+
17+ 다음과 같습니다:
18+
19+ ``` json tsconfig
20+ {
21+ "compilerOptions" : {
22+ "listFiles" : true
23+ }
24+ }
25+ ```
26+
27+ echo paths는 다음과 같습니다:
28+
29+ ```
30+ $ npm run tsc
31+ path/to/example/node_modules/typescript/lib/lib.d.ts
32+ path/to/example/node_modules/typescript/lib/lib.es5.d.ts
33+ path/to/example/node_modules/typescript/lib/lib.dom.d.ts
34+ path/to/example/node_modules/typescript/lib/lib.webworker.importscripts.d.ts
35+ path/to/example/node_modules/typescript/lib/lib.scripthost.d.ts
36+ path/to/example/index.ts
37+ ```
38+
39+ TypeScript 4.2 버전을 사용할 경우 [ ` explainFiles ` ] ( #explainFiles ) 을 참조하십시오. 파일이 추가된 이유에 대한 설명 또한 제공합니다.
You can’t perform that action at this time.
0 commit comments