ionic-team / ionic-team/ionic-docs

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

Ouverte
#2,674 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
content
Langage dominant
MDX
Étoiles
621
Forks
3.2k
Merge moyen
1 j 2 h
PR mergées (30 j)
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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.