Skip to content

Using yarn #393

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 8, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ You can use following commands to use default configuration at the top of projec
Install requirement packages.

```
$ npm install
$ yarn
```

Build codes and run.

```
$ npm run dev-start
$ yarn run dev-start
```

This command runs `npm run webpack` and `npm run hot` in parallel. It means it is the same thing to run those commands in 2 terminals.
This command runs `yarn run webpack` and `yarn run hot` in parallel. It means it is the same thing to run those commands in 2 terminals.

And webpack will watch the code changes and apply it automatically.

Expand Down
6 changes: 3 additions & 3 deletions docs/jp/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ Webpack HRMを使います。
依存するパッケージをインストールします。

```
$ npm install
$ yarn
```

ビルドして実行します。

```
$ npm run dev-start
$ yarn run dev-start
```

このコマンドは `npm run webpack` と `npm run hot`を並列に実行します。つまりこのコマンドは2つのターミナルで同時にこれらのコマンドを実行するのと同じことです。
このコマンドは `yarn run webpack` と `yarn run hot`を並列に実行します。つまりこのコマンドは2つのターミナルで同時にこれらのコマンドを実行するのと同じことです。

そして、Webpackが自動的にコードの変更を確認し、それを適用してくれるようになります。

Expand Down
6 changes: 3 additions & 3 deletions docs/ko/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Webpack HRM을 개발을 위해 사용합니다.
다음 명령을 통해 저희가 해둔 설정을 사용 할 수 있습니다.

```
npm run webpack
yarn run webpack
```

몇 초 후, 다음 메세지를 보게 될겁니다.
Expand All @@ -18,10 +18,10 @@ webpack: bundle is now VALID.
그럼 앱을 실행합시다.

```
npm run hot
yarn run hot
```

> 원래 앱은 `npm start`로 실행가능합니다. 하지만 이 경우, 컴파일된 스크립트를 사용할 것입니다.
> 원래 앱은 `yarn start`로 실행가능합니다. 하지만 이 경우, 컴파일된 스크립트를 사용할 것입니다.

이로써 웹팩이 자동적으로 코드변경을 확인하고 적용해줄 것입니다.

Expand Down
Loading