Skip to content

Commit 9a7f965

Browse files
committed
Обновлено описание
1 parent 814c11c commit 9a7f965

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ The project needs a `package.json` file to specify how to start `yii2-webpack`:
2222
{
2323
"name": "my-app",
2424
"scripts": {
25-
"dev": "yii2-webpack-exec --yii2-webpack-config dev"
25+
"dev": "yii2-webpack-exec --yii2-webpack-config dev",
26+
"build": "yii2-webpack-exec --yii2-webpack-config prod"
2627
}
2728
}
2829
```
@@ -39,7 +40,7 @@ The project needs a `package.json` file to specify how to start `yii2-webpack`:
3940
Howto use it
4041
------------
4142

42-
`scripts` will launch yii2-webpack via `npm run dev`
43+
`scripts` will launch yii2-webpack via `npm run dev`. The script uses the config of your development.
4344

4445
All entries must be described by an object. The key is used for the asset name.
4546

0 commit comments

Comments
 (0)