mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
build(prod): edit prod command
prod command would fail without '-f' flag if the `gitako.zip` not exist
This commit is contained in:
parent
a50618e41c
commit
0d74d96261
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@
|
|||
"scripts": {
|
||||
"start": "webpack --watch",
|
||||
"dev": "webpack",
|
||||
"prod": "NODE_ENV=production webpack && cd dist && rm ./gitako.zip && zip gitako.zip *"
|
||||
"prod": "NODE_ENV=production webpack && cd dist && rm -f ./gitako.zip && zip gitako.zip *"
|
||||
},
|
||||
"dependencies": {
|
||||
"pjax": "^0.2.4",
|
||||
|
|
|
|||
Loading…
Reference in a new issue