mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-09-18 01:36:11 +08:00
fix #11
This commit is contained in:
@@ -360,6 +360,9 @@ export const commands = {
|
|||||||
/local-cli/,
|
/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 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 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'));
|
const defaultConfig = require(path.resolve('node_modules/react-native/local-cli/default.config'));
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "react-native-update",
|
"name": "react-native-update",
|
||||||
"version": "1.0.4",
|
"version": "1.0.5",
|
||||||
"description": "react-native hot update",
|
"description": "react-native hot update",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Reference in New Issue
Block a user