ionic-team / ionic-team/ionic-docs

content: --prod flag for capacitor run and capacitor build is inconsistent across frameworks

Open
#2,674 0 comments 1 reaction 0 assignees View on GitHub
content
Dominant language
MDX
Stars
621
Forks
3.2k
Avg merge
1d 2h
Merged PRs (30d)
86

Description

### URL

https://ionicframework.com/docs/cli/commands/capacitor-run

### Issue Description

Forwarding from this issue: https://github.com/ionic-team/ionic-framework/issues/26411

The Ionic CLI information around the `ionic capacitor run` and `ionic capacitor build` does not reflect what the `--prod` option applies to (Angular only).

We should clarify the documentation, as `vue-cli-service build` creates a production build by default.

Note: We may decide to look into the `--prod` option in the CLI and see if there is a way to apply it consistently for each major framework we support.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.