Skip to content

Commit

Permalink
fix(cli): rn编译功能
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyadam committed May 29, 2018
1 parent 053feaa commit fa7c571
Show file tree
Hide file tree
Showing 4 changed files with 502 additions and 5 deletions.
1 change: 1 addition & 0 deletions packages/taro-cli/package.json
Expand Up @@ -30,6 +30,7 @@
"chokidar": "^2.0.3",
"commander": "^2.15.0",
"cross-spawn": "^6.0.5",
"css-to-react-native-transform": "^1.4.0",
"fs-extra": "^5.0.0",
"glob": "^7.1.2",
"inquirer": "^5.2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/taro-cli/src/build.js
Expand Up @@ -37,8 +37,8 @@ function buildForH5 ({ watch }) {
require('./h5').build({ watch })
}

function buildForRN () {

function buildForRN ({ watch }) {
require('./rn').build({ watch })
}

module.exports = build

0 comments on commit fa7c571

Please sign in to comment.