File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff 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`:
3940Howto 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
4445All entries must be described by an object. The key is used for the asset name.
4546
You can’t perform that action at this time.
0 commit comments