Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for inline Node Arguments while building a bundle. #85

Open
Krypternite opened this issue May 31, 2020 · 6 comments
Open

Support for inline Node Arguments while building a bundle. #85

Krypternite opened this issue May 31, 2020 · 6 comments

Comments

@Krypternite
Copy link

Krypternite commented May 31, 2020

Steps to reproduce the behavior

The original react-native-xcode.sh that ships with React Native has support $NODE_ARGS for passing arguments to node when bundling scripts.

Expected behavior

There should be an added variable for $NODE_ARGS in the final script that is run.

Actual behavior

Currently there does not seem to be support for this variable to pass node arguments. This is very helpful since I need to pass arguments to node.

This is from the script bundled with React Native
image

This is from the script in React-Native-Schemes-Manager
image

@thekevinbrown
Copy link
Owner

I'm not sure what this means, can you please fill out the issue template?

@Krypternite
Copy link
Author

I'm not sure what this means, can you please fill out the issue template?

Sorry I wasn't sure if you'd see this. I have filled in the details for the issue. Please check if this is a possiblity.

Thanks.

@thekevinbrown
Copy link
Owner

That makes a lot more sense, thanks!

What version of React Native are you using?

@Krypternite
Copy link
Author

Krypternite commented Jun 1, 2020

That makes a lot more sense, thanks!

What version of React Native are you using?

I have been using this flag since 0.61.5 . Recently upgraded to 0.62

@Krypternite
Copy link
Author

@thekevinbrown any updates on this ? Would you like me to create a PR for this ?

@thekevinbrown
Copy link
Owner

In general with React Native 60+ you shouldn't even need this library. I'd suggest trying to migrate off of it and see if you can do multiple debug schemes with the stock React Native setup. (You should be able to).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants