1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
tdzl2003 2016-05-11 10:48:08 +08:00
parent f1b5ac0bbd
commit 4f3d71ff46
2 changed files with 4 additions and 1 deletions

View File

@ -360,6 +360,9 @@ export const commands = {
/local-cli/,
]);
// This line fix issue #11
require(path.resolve('node_modules/react-native/local-cli/cli'));
const Config = require(path.resolve('node_modules/react-native/local-cli/util/Config'));
const bundle = require(path.resolve('node_modules/react-native/local-cli/bundle/bundle'));
const defaultConfig = require(path.resolve('node_modules/react-native/local-cli/default.config'));

View File

@ -1,6 +1,6 @@
{
"name": "react-native-update",
"version": "1.0.4",
"version": "1.0.5",
"description": "react-native hot update",
"main": "lib/index.js",
"scripts": {