Skip to content

Commit e7de823

Browse files
Merge pull request #41 from danielsychoo/translateKo
Translate 3 files to ko - out, outDir, outFile
2 parents b124482 + da27f80 commit e7de823

File tree

3 files changed

+59
-0
lines changed

3 files changed

+59
-0
lines changed

docs/tsconfig/ko/options/out.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
display: "Out"
3+
oneline: "Deprecated setting. Use `outFile` instead."
4+
---
5+
6+
대신에 [outFile](#outFile) 을 사용하세요.
7+
8+
`out` 옵션은 예측 불가능하거나 일관되지 않은 방식으로 최종 파일 위치를 계산합니다.
9+
이 옵션은 이전 버전과의 호환성을 위해 유지될 뿐 사용을 권장하지 않습니다.

docs/tsconfig/ko/options/outDir.md

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
display: "Out Dir"
3+
oneline: "Specify an output folder for all emitted files."
4+
---
5+
6+
만일 지정하면, `.js` (이 외에도 `.d.ts`, `.js.map`, 등.) 파일이 지정한 디렉터리로 배출됩니다.
7+
원본 파일의 디렉터리 구조는 보존됩니다; 계산된 루트가 예상과 다를 경우 [rootDir](#rootDir) 을 보세요.
8+
9+
만일 지정하지 않으면, `.js` 파일은 `.ts` 파일이 생성된 곳과 동일한 디렉터리에 생성됩니다:
10+
11+
```sh
12+
$ tsc
13+
14+
example
15+
├── index.js
16+
└── index.ts
17+
```
18+
19+
다음과 같이 `tsconfig.json` 을 작성할 경우:
20+
21+
```json tsconfig
22+
{
23+
"compilerOptions": {
24+
"outDir": "dist"
25+
}
26+
}
27+
```
28+
29+
이러한 설정으로 `tsc`를 실행하면 파일이 지정한 `dist` 폴더로 이동합니다:
30+
31+
```sh
32+
$ tsc
33+
34+
example
35+
├── dist
36+
│ └── index.js
37+
├── index.ts
38+
└── tsconfig.json
39+
```

docs/tsconfig/ko/options/outFile.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
display: "Out File"
3+
oneline: "Specify a file that bundles all outputs into one JavaScript file. If `declaration` is true, also designates a file that bundles all .d.ts output."
4+
---
5+
6+
만일 지정하면, 모든 _전역_ (비모듈) 파일이 지정된 단일 출력 파일에 연결됩니다.
7+
8+
만일 `module``system` 또는 `amd` 일 경우, 모든 모듈 파일도 모든 전역 컨텐츠 뒤에 이 파일에 연결됩니다.
9+
10+
참고: `outFile``module``None` 이거나, `System`, `AMD` 가 아니면 _사용할 수 없습니다_.
11+
이 옵션은 bundle CommonJS 또는 ES6 모듈에 _사용할 수 없습니다_.

0 commit comments

Comments
 (0)