diff --git a/.gitignore b/.gitignore index f1d63e6a..67b2654d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /logs/ +.public web npm-debug.log yarn-error.log diff --git a/build-web.sh b/build-web.sh index 435d608f..728f9fd7 100644 --- a/build-web.sh +++ b/build-web.sh @@ -12,14 +12,8 @@ if [ ! -d $WORKBASE/web ]; then fi cd $WORKBASE/web -echo "build console ui to .public." git pull origin master -echo "loglevel=silent" > .npmrc - cnpm install --quiet --no-progress -cnpm run -s build - -echo "move .public to $WORKBAS" -mv $WORKBASE/web/.public $WORKBASE +cnpm run build --quiet