Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hg-pyun/minipack-kr

πŸ“¦ μžλ°”μŠ€ν¬λ¦½νŠΈ λͺ¨λ“ˆ λ²ˆλ“€λŸ¬λ₯Ό λ§Œλ“œλŠ” κ°„λ‹¨ν•œ μ˜ˆμ œμž…λ‹ˆλ‹€.
https://github.com/hg-pyun/minipack-kr

bundler javascript webpack

Last synced: 9 days ago
JSON representation

πŸ“¦ μžλ°”μŠ€ν¬λ¦½νŠΈ λͺ¨λ“ˆ λ²ˆλ“€λŸ¬λ₯Ό λ§Œλ“œλŠ” κ°„λ‹¨ν•œ μ˜ˆμ œμž…λ‹ˆλ‹€.

Awesome Lists containing this project

README

        

## πŸ“¦ Minipack-kr

*[minipack](https://github.com/ronami/minipack)을 ν•œκΈ€λ‘œ λ²ˆμ—­ν•œ λ¬Έμ„œμž…λ‹ˆλ‹€.*

> μžλ°”μŠ€ν¬λ¦½νŠΈ λͺ¨λ“ˆ λ²ˆλ“€λŸ¬λ₯Ό λ§Œλ“œλŠ” κ°„λ‹¨ν•œ μ˜ˆμ œμž…λ‹ˆλ‹€.

### μ†Œκ°œ

ν”„λ‘ νŠΈμ—”λ“œ κ°œλ°œμžλ“€μ€ [Webpack](https://github.com/webpack/webpack), [Browserify](https://github.com/browserify/browserify), 그리고 [Parcel](https://github.com/parcel-bundler/parcel) 같은 툴과 ν•¨κ»˜ κ°œλ°œν•˜λŠ”λ° λ§Žμ€ μ‹œκ°„μ„ μ“°κ³  μžˆμŠ΅λ‹ˆλ‹€.

μ•žμ—μ„œ μ–ΈκΈ‰ν•œ 툴의 λ™μž‘λ°©μ‹μ„ μ΄ν•΄ν•˜λ©΄, μ½”λ“œλ₯Ό μž‘μ„±ν•  λ•Œ 더 쒋은 결정을 ν•  수 μžˆμŠ΅λ‹ˆλ‹€. 또 우리의 μ½”λ“œκ°€ μ–΄λ–€ 과정을 톡해 λ²ˆλ“€λ‘œ λ°”λ€ŒλŠ”μ§€, κ·Έ λ²ˆλ“€μ΄ μ–΄λ–»κ²Œ λ§Œλ“€μ–΄μ‘ŒλŠ”μ§€ μ΄ν•΄ν•˜λ©΄ 디버깅 ν•˜κΈ° 더 μ‰¬μšΈ κ²ƒμž…λ‹ˆλ‹€.

이 ν”„λ‘œμ νŠΈμ—μ„œλŠ” λ²ˆλ“€λŸ¬κ°€ μ–΄λ–»κ²Œ λ™μž‘ν•˜λŠ”μ§€μ— λŒ€ν•΄ μ„€λͺ…ν•˜κ² μŠ΅λ‹ˆλ‹€. μ—¬κΈ°μ—λŠ” μ‹¬ν”Œν•˜μ§€λ§Œ μ •ν™•ν•œ λ²ˆλ“€λŸ¬ κ΅¬ν˜„ 과정이 ν¬ν•¨λ˜μ–΄ μžˆμŠ΅λ‹ˆλ‹€. 또 μ½”λ“œμ™€ ν•¨κ»˜ 각각의 μ½”λ“œλ“€μ΄ μ–΄λ–€ 역할을 ν•˜λŠ”μ§€μ— λŒ€ν•œ 주석도 λ‹¬μ•„λ’€μŠ΅λ‹ˆλ‹€.

### λ©‹μ§€λ„€μš”, μ–΄λ””μ„œλΆ€ν„° μ‹œμž‘ν•˜λ©΄ λ˜λ‚˜μš”?

이 μ†ŒμŠ€μ½”λ“œμ˜ μ²˜μŒλΆ€λΆ„μ„ λ³΄μ„Έμš”: [src/minipack.js](src/minipack.js).

### μ½”λ“œ μ‹€ν–‰ 방법

λ¨Όμ € μ˜μ‘΄μ„± νŒŒμΌλ“€μ„ μ„€μΉ˜ν•©λ‹ˆλ‹€:

```sh
$ npm install
```

그리고 우리의 슀크립트λ₯Ό μ‹€ν–‰μ‹œν‚΅λ‹ˆλ‹€:

```sh
$ node src/minipack.js
```

### μΆ”κ°€ μžλ£Œλ“€

- [AST Explorer](https://astexplorer.net)
- [Babel REPL](https://babeljs.io/repl)
- [Babylon](https://github.com/babel/babel/tree/master/packages/babel-parser)
- [Babel Plugin Handbook](https://github.com/thejameskyle/babel-handbook/blob/master/translations/en/plugin-handbook.md)
- [Webpack: Modules](https://webpack.js.org/concepts/modules)

### λ‹€λ₯Έ μ–Έμ–΄λ‘œ 읽을 수 μžˆμŠ΅λ‹ˆλ‹€.

- [English](https://github.com/ronami/minipack)
- [δΈ­ζ–‡](https://github.com/chinanf-boy/minipack-explain)
- [Русский/Russian](https://github.com/makewebme/build-your-own-webpack)