Skip to content

Commit

Permalink
chore: fix publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed Sep 4, 2017
1 parent af97c23 commit c22c927
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/dva-loading/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,8 @@
"files": [
"lib",
"src"
]
],
"dependencies": {
"babel-runtime": "^6.26.0"
}
}
4 changes: 4 additions & 0 deletions tasks/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ cd "$root_path/packages/dva-react-router-3"
$ruban build
echo 'build dva-react-router-3'

cd "$root_path/packages/dva-loading"
$ruban build
echo 'build dva-loading'

cd "$root_path/packages/dva"
rm -rf dist
$umdBundler -g react:React,react-dom:ReactDOM -n dva -i ./index.js -o dist/dva.js
Expand Down

0 comments on commit c22c927

Please sign in to comment.