Skip to content

Commit fe7c05a

Browse files
authored
Merge pull request #393 from BoostIO/feature-use-yarn
Using yarn
2 parents 41b69af + 54b5af0 commit fe7c05a

File tree

4 files changed

+6683
-9
lines changed

4 files changed

+6683
-9
lines changed

docs/build.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ You can use following commands to use default configuration at the top of projec
88
Install requirement packages.
99

1010
```
11-
$ npm install
11+
$ yarn
1212
```
1313

1414
Build codes and run.
1515

1616
```
17-
$ npm run dev-start
17+
$ yarn run dev-start
1818
```
1919

20-
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.
20+
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.
2121

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

docs/jp/build.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ Webpack HRMを使います。
88
依存するパッケージをインストールします。
99

1010
```
11-
$ npm install
11+
$ yarn
1212
```
1313

1414
ビルドして実行します。
1515

1616
```
17-
$ npm run dev-start
17+
$ yarn run dev-start
1818
```
1919

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

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

docs/ko/build.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Webpack HRM을 개발을 위해 사용합니다.
66
다음 명령을 통해 저희가 해둔 설정을 사용 할 수 있습니다.
77

88
```
9-
npm run webpack
9+
yarn run webpack
1010
```
1111

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

2020
```
21-
npm run hot
21+
yarn run hot
2222
```
2323

24-
> 원래 앱은 `npm start`로 실행가능합니다. 하지만 이 경우, 컴파일된 스크립트를 사용할 것입니다.
24+
> 원래 앱은 `yarn start`로 실행가능합니다. 하지만 이 경우, 컴파일된 스크립트를 사용할 것입니다.
2525
2626
이로써 웹팩이 자동적으로 코드변경을 확인하고 적용해줄 것입니다.
2727

0 commit comments

Comments
 (0)