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

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
angular
Domain
documentation

Research direction

Start with the capacitor-run documentation at the linked URL and inspect the corresponding capacitor-build documentation. Compare how the --prod option is described for Angular and how vue-cli-service build behaves by default. Done means the documentation clearly explains the framework-specific behavior and the scope of --prod.

Written by the indexing model from the issue text.

Description

content
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.

Dominant language
MDX
Stars
621
Forks
3.2k
Avg merge
1d 2h
Merged PRs (30d)
86

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ionic-team/ionic-docs

All issues in ionic-team/ionic-docs

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.