File tree 2 files changed +56
-0
lines changed
2 files changed +56
-0
lines changed 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 프로젝트에 대한 문서는 [ 핸드북] ( 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
+ 컴파일하는 파일 이름을 출력합니다.
7
+ 이 기능은 TypeScript에 예상한 파일이 포함되어 있는지 확실하지 않을 때 유용합니다.
8
+
9
+ 예를들면:
10
+
11
+ ```
12
+ example
13
+ ├── index.ts
14
+ ├── package.json
15
+ └── tsconfig.json
16
+ ```
17
+
18
+ 다음과 같습니다:
19
+
20
+ ``` json tsconfig
21
+ {
22
+ "compilerOptions" : {
23
+ "listFiles" : true
24
+ }
25
+ }
26
+ ```
27
+
28
+ echo paths는 다음과 같습니다:
29
+
30
+ ```
31
+ $ npm run tsc
32
+ path/to/example/node_modules/typescript/lib/lib.d.ts
33
+ path/to/example/node_modules/typescript/lib/lib.es5.d.ts
34
+ path/to/example/node_modules/typescript/lib/lib.dom.d.ts
35
+ path/to/example/node_modules/typescript/lib/lib.webworker.importscripts.d.ts
36
+ path/to/example/node_modules/typescript/lib/lib.scripthost.d.ts
37
+ path/to/example/index.ts
38
+ ```
39
+
40
+ TypeScript 4.2 버전을 사용할 경우 [ ` explainFiles ` ] ( #explainFiles ) 을 참조하십시오. 파일이 추가된 이유에 대한 설명 또한 제공합니다.
You can’t perform that action at this time.
0 commit comments