Skip to content

Commit ecd8521

Browse files
committed
Translate comment and fixed translate document with @ChangJoo-Park's feedback.
1 parent 8362c16 commit ecd8521

File tree

11 files changed

+59
-60
lines changed

11 files changed

+59
-60
lines changed

docs/ko/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
한 마디로 Webpack과 `vue-loader`의 결합은 Vue.js 어플리케이션을 제작하기위한 현대적이고 유연하며 매우 강력한 작업환경을 제공합니다.
1818

19-
### Webpack이 뭔가요?
19+
### Webpack이 무엇인가요?
2020

2121
이미 Webpack에 익숙하다면 이 설명을 건너뛰어도 됩니다. 하지만 Webpack을 처음 사용하는 사람들에게는 다음과 같은 간단한 소개를 읽어보세요.
2222

@@ -28,10 +28,10 @@
2828

2929
여기서 Webpack은 묶는일 외에도 더 많은 일을 할 수 있습니다. "로더들"을 사용하면 최종 Bundle(묶음)을 출력하기 전에 원하는 방식으로 모든 유형의 파일을 변환할 수 있도록 Webpack에 지시할 수 있습니다. 몇 가지 예를 봅시다.
3030

31-
- ES2015 또는 CoffeeScript, TypeScript 모듈을 ES5 CommonJS 모듈로 변환
32-
- Optionally you can pipe the source code through a linter before doing the compilation;
33-
- Jade 템플릿을 일반 HTML로 변경하고 Javascript 문자열로 반환합니다.
34-
- SASS 파일을 일반 CSS로 변환한 다음 CSS를 `<style>` 태그로 삽입하는 Javascript 스니펫으로 변환합니다.
31+
- ES2015 또는 CoffeeScript, TypeScript 모듈을 ES5 CommonJS 모듈로 변환할 수 있습니다.
32+
- 선택 사항으로 컴파일 전에 linter를 이용하여 소스 코드를 연결 할 수 있습니다.
33+
- Jade 템플릿을 일반 HTML로 변경하고 JavaScript 문자열로 반환합니다.
34+
- SASS 파일을 일반 CSS로 변환한 다음 CSS를 `<style>` 태그로 삽입하는 JavaScript 스니펫으로 변환합니다.
3535
- HTML 또는 CSS에서 참조된 이미지 파일을 처리하고 경로 구성에 따라 이동한 후 md5 해시를 사용하여 이름을 지정합니다.
3636

3737
Webpack은 매우 강력하며 작동 원리를 이해한다면 프론트엔드 작업환경을 획기적으로 향상시킬 수 있습니다. 단점은 장황하고 복잡한 구성입니다. 하지만 이 가이드를 사용하면 Vue.js 및 `vue-loader`에서 Webpack을 사용할 때 가장 일반적인 문제에 대한 솔루션을 찾을 수 있습니다.

docs/ko/configurations/advanced.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
``` js
88
// webpack.config.js
99
module.exports = {
10-
// other options...
10+
// 이 부분엔 다른 옵션도 들어 갈 수 있습니다.
1111
module: {
1212
loaders: [
1313
{
@@ -16,14 +16,14 @@ module.exports = {
1616
}
1717
]
1818
},
19-
// vue-loader configurations
19+
// vue-loader 설정
2020
vue: {
21-
// ... other vue options
21+
// 이 부분엔 다른 Vue 옵션도 들어 갈 수 있습니다.
2222
loaders: {
23-
// load all <script> without "lang" attribute with coffee-loader
23+
// coffee-loader에 "lang" 속성이 없는 모든 <script>를 로드하세요.
2424
js: 'coffee',
25-
// load <template> directly as HTML string, without piping it
26-
// through vue-html-loader first
25+
// <template>HTML 문자열로 직접 로드하면
26+
// vue-html-loader를 통해 파이핑하지 않아도 됩니다.
2727
html: 'raw'
2828
}
2929
}
@@ -34,14 +34,14 @@ module.exports = {
3434

3535
``` js
3636
module.exports = {
37-
// other options...
37+
// 이 부분엔 다른 옵션도 들어 갈 수 있습니다.
3838
module: {
39-
// module.rules is the same as module.loaders in 1.x
39+
// module.rules는 1.x의 module.loaders와 동일합니다.
4040
rules: [
4141
{
4242
test: /\.vue$/,
4343
loader: 'vue',
44-
// vue-loader options goes here
44+
// vue-loader 옵션은 이곳에 옵니다.
4545
options: {
4646
loaders: {
4747
// ...

docs/ko/configurations/extract-css.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ npm install extract-text-webpack-plugin --save-dev
1313
var ExtractTextPlugin = require("extract-text-webpack-plugin")
1414

1515
module.exports = {
16-
// other options...
16+
// 이 부분엔 다른 옵션도 들어 갈 수 있습니다.
1717
module: {
1818
loaders: [
1919
{
@@ -25,7 +25,7 @@ module.exports = {
2525
vue: {
2626
loaders: {
2727
css: ExtractTextPlugin.extract("css"),
28-
// you can also include <style lang="less"> or other langauges
28+
// 당신은 <style lang="less"> 또는 다른 언어도 포함할 수 있습니다.
2929
less: ExtractTextPlugin.extract("css!less")
3030
}
3131
},
@@ -46,7 +46,7 @@ npm install [email protected] --save-dev
4646
var ExtractTextPlugin = require("extract-text-webpack-plugin")
4747

4848
module.exports = {
49-
// other options...
49+
// 이 부분엔 다른 옵션도 들어 갈 수 있습니다.
5050
module: {
5151
rules: [
5252
{
@@ -56,7 +56,7 @@ module.exports = {
5656
loaders: {
5757
css: ExtractTextPlugin.extract({
5858
loader: 'css-loader',
59-
fallbackLoader: 'vue-style-loader' // <- this is a dep of vue-loader, so no need to explicitly install if using npm3
59+
fallbackLoader: 'vue-style-loader' // <- 이것은 vue-loader가 필요 없으므로 npm3를 사용하는 경우 명시적으로 설치할 필요가 없습니다.
6060
})
6161
}
6262
}

docs/ko/configurations/pre-processors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ div
5555

5656
``` html
5757
<style lang="sass?outputStyle=expanded">
58-
/* use sass here with expanded output */
58+
/* 여기에 SASS를 사용하세요! */
5959
</style>
6060
```
6161

docs/ko/features/css-modules.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
``` html
2525
<template>
2626
<p :class="$style.red">
27-
This should be red
27+
이것은 빨간색이야
2828
</p>
2929
</template>
3030
```
@@ -35,24 +35,24 @@
3535
<template>
3636
<div>
3737
<p :class="{ [$style.red]: isRed }">
38-
Am I red?
38+
나는 빨간색이야?
3939
</p>
4040
<p :class="[$style.red, $style.bold]">
41-
Red and bold
41+
나는 빨간색이면서 볼드야
4242
</p>
4343
</div>
4444
</template>
4545
```
4646

47-
또한 Javascript에서도 접근할 수 있습니다.
47+
또한 JavaScript에서도 접근할 수 있습니다.
4848

4949
``` html
5050
<script>
5151
export default {
5252
created () {
5353
console.log(this.$style.red)
5454
// -> "_1VyoJ-uZOjlOxP7jWUy19_0"
55-
// an identifier generated based on filename and className.
55+
// 파일 이름과 className을 기반으로 생성된 식별자
5656
}
5757
}
5858
</script>
@@ -66,11 +66,11 @@ export default {
6666

6767
``` html
6868
<style module="a">
69-
/* identifiers injected as a */
69+
/* a로 주입된 식별자 */
7070
</style>
7171

7272
<style module="b">
73-
/* identifiers injected as b */
73+
/* b로 주입된 식별자 */
7474
</style>
7575
```
7676

@@ -92,7 +92,7 @@ CSS Modules는 [css-loader](https://github.com/webpack/css-loader)를 통해 처
9292
// webpack 1
9393
vue: {
9494
cssModules: {
95-
// overwrite local ident name
95+
// 로컬 ID값을 덮어씌웁니다.
9696
localIdentName: '[path][name]---[local]---[hash:base64:5]',
9797
// enable camelCase
9898
camelCase: true

docs/ko/features/postcss.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ Webpack 1.x의 예제입니다.
77
``` js
88
// webpack.config.js
99
module.exports = {
10-
// other configs...
10+
// 여기에 다른 옵션이 올 수 있습니다.
1111
vue: {
12-
// use custom postcss plugins
12+
// 커스텀 PostCSS 플러그인을 사용하세요.
1313
postcss: [require('postcss-cssnext')()]
1414
}
1515
}
@@ -20,14 +20,14 @@ Webpack 2.x의 예제입니다.
2020
``` js
2121
// webpack.config.js
2222
module.exports = {
23-
// other options...
23+
// 여기에 다른 옵션이 올 수 있습니다.
2424
module: {
25-
// module.rules is the same as module.loaders in 1.x
25+
// module.rules는 1.x의 module,loaders와 같습니다.
2626
rules: [
2727
{
2828
test: /\.vue$/,
2929
loader: 'vue',
30-
// vue-loader options goes here
30+
// vue-loader 옵션은 이곳에 옵니다.
3131
options: {
3232
// ...
3333
postcss: [require('postcss-cssnext')()]
@@ -39,7 +39,6 @@ module.exports = {
3939
}
4040
```
4141

42-
In addition to providing an Array of plugins, the `postcss` option also accepts:
4342
`postcss` 옵션은 플러그인의 배열을 제공하는 것 외에도 다음 옵션을 사용할 수 있습니다.
4443

4544
- 플러그인 배열을 반환하는 함수.
@@ -48,9 +47,9 @@ In addition to providing an Array of plugins, the `postcss` option also accepts:
4847

4948
``` js
5049
postcss: {
51-
plugins: [...], // list of plugins
50+
plugins: [...], // 플러그인의 리스트
5251
options: {
53-
parser: sugarss // use sugarss parser
52+
parser: sugarss // sugarss parser 사용
5453
}
5554
}
5655
```

docs/ko/features/scoped-css.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434

3535
``` html
3636
<style>
37-
/* global styles */
37+
/* 전역 스타일 */
3838
</style>
3939

4040
<style scoped>
41-
/* local styles */
41+
/* 로컬 스타일 */
4242
</style>
4343
```
4444

docs/ko/options.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Webpack 1.x의 경우 Webpack 설정에 루트 `vue` 블럭을 추가합니다.
88
module.exports = {
99
// ...
1010
vue: {
11-
// vue-loader options
11+
// vue-loader 옵션
1212
}
1313
}
1414
```
@@ -24,7 +24,7 @@ module.exports = {
2424
test: /\.vue$/,
2525
loader: 'vue',
2626
options: {
27-
// vue-loader options
27+
// vue-loader 옵션
2828
}
2929
}
3030
]
@@ -75,9 +75,9 @@ module.exports = {
7575

7676
``` js
7777
postcss: {
78-
plugins: [...], // list of plugins
78+
plugins: [...], // 플러그인 리스트
7979
options: {
80-
parser: sugarss // use sugarss parser
80+
parser: sugarss // sugarss parser를 사용합니다.
8181
}
8282
}
8383
```
@@ -96,7 +96,7 @@ module.exports = {
9696
- 타입: `Boolean`
9797
- 디폴트: `undefined`
9898

99-
Whether to emit esModule compatible code. By default vue-loader will emit default export in commonjs format like `module.exports = ....`. When `esModule` is set to true, default export will be transpiled into `exports.__esModule = true; exports = ...`. Useful for interoperating with transpiler other than Babel, like TypeScript.
99+
esModule 호환 코드를 사용할지 여부입니다. 기본적으로 vue-loader는 `module.exports = ....`와 같은 CommonJS 형식으로 내보냅니다. `esModule`이 true로 설정되면 내보내기는 `exports.__esModule = true; exports = ...`로 변환됩니다. TypeScript와 같은 Babel 이외의 변환툴과의 연동에 유용합니다.
100100

101101
### preserveWhitespace
102102

@@ -129,11 +129,11 @@ module.exports = {
129129
// webpack 1
130130
vue: {
131131
buble: {
132-
// enable object spread operator
133-
// NOTE: you need to provide Object.assign polyfill yourself!
132+
// Object spread 연산자를 허용합니다.
133+
// 참고: 직접 Object.assign polyfill을 제공해야합니다!
134134
objectAssign: 'Object.assign',
135135

136-
// turn off the `with` removal
136+
// `with` 제거 옵션을 끄십시오.
137137
transforms: {
138138
stripWith: false
139139
}
@@ -148,7 +148,7 @@ module.exports = {
148148
loader: 'vue',
149149
options: {
150150
buble: {
151-
// same options
151+
// 같은 옵션입니다.
152152
}
153153
}
154154
}

docs/ko/workflow/linting.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ npm install eslint eslint-loader --save-dev
2727
``` js
2828
// webpack.config.js
2929
module.exports = {
30-
// ... other options
30+
// 여기에 다른 옵션이 올 수 있습니다.
3131
module: {
3232
loaders: [
3333
{
@@ -46,17 +46,17 @@ Webpack 로더 체인은 **가장 먼저** 적용됩니다. `vue` 전에 `eslint
4646
``` js
4747
// webpack.config.js
4848
module.exports = {
49-
// ... other options
49+
// 여기에 다른 옵션이 올 수 있습니다.
5050
module: {
51-
// only lint local *.vue files
51+
// 오직 로컬 *.vue 파일만 lint합니다.
5252
preLoaders: [
5353
{
5454
test: /.vue$/,
5555
loader: 'eslint',
5656
exclude: /node_modules/
5757
}
5858
],
59-
// but use vue-loader for all *.vue files
59+
// 하지만 모든 *.vue 파일에 대해 vue-loader를 사용하세요.
6060
loaders: [
6161
{
6262
test: /.vue$/,
@@ -72,17 +72,17 @@ Webpack 2.x에서는 다음과 같이 처리합니다.
7272
``` js
7373
// webpack.config.js
7474
module.exports = {
75-
// ... other options
75+
// 여기에 다른 옵션이 올 수 있습니다.
7676
module: {
7777
rules: [
78-
// only lint local *.vue files
78+
// 오직 로컬 *.vue 파일만 lint합니다.
7979
{
8080
enforce: 'pre',
8181
test: /.vue$/,
8282
loader: 'eslint',
8383
exclude: /node_modules/
8484
},
85-
// but use vue-loader for all *.vue files
85+
// 하지만 모든 *.vue 파일에 대해 vue-loader를 사용하세요.
8686
{
8787
test: /.vue$/,
8888
loader: 'vue'

docs/ko/workflow/production.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@
1010
``` js
1111
// webpack.config.js
1212
module.exports = {
13-
// ... other options
13+
// 여기에 다른 옵션이 올 수 있습니다.
1414
plugins: [
15-
// short-circuits all Vue.js warning code
15+
// 모든 Vue.js 경고 코드를 숨깁니다.
1616
new webpack.DefinePlugin({
1717
'process.env': {
1818
NODE_ENV: '"production"'
1919
}
2020
}),
21-
// minify with dead-code elimination
21+
// 불필요한 코드를 제거하여 minify합니다.
2222
new webpack.optimize.UglifyJsPlugin({
2323
compress: {
2424
warnings: false
2525
}
2626
}),
27-
// optimize module ids by occurence count
27+
// 발생 횟수에 따라 모듈 ID를 최적화합니다.
2828
new webpack.optimize.OccurenceOrderPlugin()
2929
]
3030
}

0 commit comments

Comments
 (0)