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

Document that you can pass vite flags when running ionic capacitor run android -l --external #5080

Open
rodpatulski opened this issue Feb 21, 2024 · 0 comments
Labels

Comments

@rodpatulski
Copy link

I struggled to find a way to pass in vite flags when running ionic capacitor run android -l --external The only way I figured out that you can use '--' was to use chatgpt and passing flags like 'mode' to vite can be done with ionic capacitor run android -l --external -- --mode staging

There is a small blurb on the 'capacitor serve' command:

Options not listed below are considered advanced and can be passed to the Angular CLI using the -- separator after the Ionic CLI arguments. See the examples.

But that feels Angular CLI specific, and it doesn't really get to the point that vite flags CAN be passed in.

Linking the issue I tried to put in the capacitor cli but I was re-routed here.
ionic-team/capacitor#7201

@ionitron-bot ionitron-bot bot added the triage label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant