Skip to content

Commit

Permalink
webpack: add Korean translation (#11142)
Browse files Browse the repository at this point in the history
  • Loading branch information
IMHOJEONG authored and kbdharun committed Oct 22, 2023
1 parent 669a5b8 commit c10b3e0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pages.ko/common/webpack.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# webpack

> ์›น ํ”„๋กœ์ ํŠธ์˜ ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ํŒŒ์ผ๊ณผ ๊ธฐํƒ€ ๋ฆฌ์†Œ์Šค๋ฅผ ๋‹จ์ผ ์ถœ๋ ฅ ํŒŒ์ผ๋กœ ๋ฌถ์–ด์ค๋‹ˆ๋‹ค.
> ๋” ๋งŽ์€ ์ •๋ณด: <https://webpack.js.org>.
- ์ง„์ž…์ ์ด ๋˜๋Š” ํŒŒ์ผ์—์„œ ๋‹จ์ผ ์ถœ๋ ฅ ํŒŒ์ผ ์ƒ์„ฑ:

`webpack {{app.js}} {{bundle.js}}`

- ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ํŒŒ์ผ์—์„œ๋„ CSS ํŒŒ์ผ์„ ๋กœ๋“œ (์ด ๊ฒฝ์šฐ `.css` ํŒŒ์ผ์— CSS ๋กœ๋”๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค):

`webpack {{app.js}} {{bundle.js}} --module-bind '{{css=css}}'`

- ๊ตฌ์„ฑ ํŒŒ์ผ(์˜ˆ, ์ž…๋ ฅ ์Šคํฌ๋ฆฝํŠธ ๋ฐ ์ถœ๋ ฅ ํŒŒ์ผ ์ด๋ฆ„ ํฌํ•จ)์„ ์ „๋‹ฌํ•˜๊ณ  ์ปดํŒŒ์ผ ์ง„ํ–‰๋ฅ ์„ ํ‘œ์‹œ:

`webpack --config {{webpack.config.js}} --progress`

- ํ”„๋กœ์ ํŠธ ํŒŒ์ผ ๋ณ€๊ฒฝ ์‹œ ์ž๋™์œผ๋กœ ๋‹ค์‹œ ์ปดํŒŒ์ผ:

`webpack --watch {{app.js}} {{bundle.js}}`

0 comments on commit c10b3e0

Please sign in to comment.