nx-extensions-ionic icon indicating copy to clipboard operation
nx-extensions-ionic copied to clipboard

Capacitor | Angular: Add Environment Options to Pass to Capacitor Command.

Open tommyc38 opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. I need to be able to run different builds of iOS/Android dynmaically. In order to do that I need to be able to pass environement variables to the capacitor command. See the capacitor docs describing this here.

Describe the solution you'd like I would like a new option, env, which would be a string that would be executed before the npx command (e.g. 'NODE_ENV=dev OTHER_VAR=FOO').

Describe alternatives you've considered I can't think of any other way.

Additional context N/A

tommyc38 avatar Oct 13 '23 03:10 tommyc38