ko-KR Translation and readme#122
Merged
DeMoorJasper merged 5 commits intoparcel-bundler:masterfrom Feb 23, 2018
item4:ko
Merged
ko-KR Translation and readme#122DeMoorJasper merged 5 commits intoparcel-bundler:masterfrom item4:ko
DeMoorJasper merged 5 commits intoparcel-bundler:masterfrom
item4:ko
Conversation
harfangk
reviewed
Feb 23, 2018
src/i18n/ko/docs/api.md
Outdated
| // 진입점 파일 위치 | ||
| const file = Path.join(__dirname, './index.html'); | ||
|
|
||
| // 번들러 옶션 |
src/i18n/ko/docs/api.md
Outdated
| target: 'browser', // browser/node/electron, 기본값은 browser | ||
| https: false, // 파일을 https로 서빙할지 http로 할지 여부. 기본값은 false | ||
| logLevel: 3, // 3 = 모든것을 로깅, 2 = 경고와 에러를 로깅, 1 = 에러만 로깅 | ||
| hmrPort: 0, // hmr 소켓이 돌아갈 포틑번호. 기본값은 무작위의 빈 포트 (node.js에서 0은 무작위의 빈 포트로 배정됨) |
src/i18n/ko/docs/api.md
Outdated
| hmrPort: 0, // hmr 소켓이 돌아갈 포틑번호. 기본값은 무작위의 빈 포트 (node.js에서 0은 무작위의 빈 포트로 배정됨) | ||
| sourceMaps: true, // 소스맵을 활성화할지 여부. 기본값은 활성화 (아직 미니파이드 빌드에선 지원되지 않음) | ||
| hmrHostname: '', // 핫 모듈 리플레이스먼트를 위한 hostname.기본값은 '' | ||
| detailedReport: false // 번들, 에셋, 파이리 크기, 빌드 시간을 담은 상세한 리포트를 출력. 기본값은 false. 리포트는 오직 watch가 비활성일때만 출력됨 |
src/i18n/ko/docs/api.md
Outdated
| ```js | ||
| const bundle = new Bundler(...); | ||
| bundle.on('bundled', (bundle) => { | ||
| // bundle은 모든 에셋과 번들을 포함합니다. 자세한건 문서를 참조하세요. |
src/i18n/ko/docs/api.md
Outdated
|
|
||
| ### 번들 | ||
|
|
||
| `Bundle`은 parcel이 에셋을 함께 번들링 하기 위해 사용하는 것으로, 번들 트리를 빌드하기 위해 자식, 형제 번들을 포함합니다. |
There was a problem hiding this comment.
오타: 에셋 -> 애셋
스타일: 번들링 하기 위해 사용하는 것으로 -> 번들링하기 위해 사용하며,
src/i18n/ko/docs/api.md
Outdated
|
|
||
| `test.js`은 `index.js` 번들의 애셋으로 추가됩니다. `index.js`와 같은 에샛 타입이기 때문입니다. | ||
|
|
||
| `test.txt`는 새 번들을 생성하고 `index.js` bundle의 자식으로 추가됩니다. `index.js`와 다른 에셋 타입이기 때문입니다. |
There was a problem hiding this comment.
오타: 에셋 -> 애셋
스타일: test.txt는 새 번들을 생성하고 index.js bundle의 자식으로 추가됩니다. index.js와 다른 에셋 타입이기 때문입니다.
-> test.txt는 index.js와 다른 애셋 타입이기 때문에 이를 위해 새 번들이 생성되고, 해당 번들은 index.js 번들의 자식으로 추가됩니다.
src/i18n/ko/docs/api.md
Outdated
|
|
||
| `test.txt`는 새 번들을 생성하고 `index.js` bundle의 자식으로 추가됩니다. `index.js`와 다른 에셋 타입이기 때문입니다. | ||
|
|
||
| `index.css`는 다른 의존성이 없고, 엔트리 에셋에서만 쓰입니다. |
src/i18n/ko/docs/api.md
Outdated
|
|
||
| `index.css`는 다른 의존성이 없고, 엔트리 에셋에서만 쓰입니다. | ||
|
|
||
| `index.css`와 `index.js` 번들은 같은 부모를 가지므로 서로의 siblingBundles 입니다. |
src/i18n/ko/docs/api.md
Outdated
|
|
||
| ```Text | ||
| index.html | ||
| -- index.js (index.js과 test.js를 포함) |
src/i18n/ko/docs/api.md
Outdated
| // 파일과 옵션을 사용해 번들러를 초기화합니다 (옵션과 파일에 대해서는 번들러 문서를 참조하세요.) | ||
| const bundler = new Bundler(file, options); | ||
|
|
||
| // express가 번들러 미들웨어를 사용할 수 있게 합니다. 이로 인해 parcel이 express server를 거치는 매 요청을 핸들링 할 것입니다. |
There was a problem hiding this comment.
스타일: 이로 인해 parcel이 express server를 거치는 매 요청을 핸들링 할 것입니다.
-> 그러면 express server를 거치는 매 요청을 parcel이 처리할 것입니다.
DeMoorJasper
approved these changes
Feb 23, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
it contains..
to reviewers
API 문서의 번역에 자신이 없습니다. 매의 눈으로 리뷰해주세요.