ionic-team / ionic-team/ionic-docs

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

Offen
#2,674 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
content
Vorherrschende Sprache
MDX
Sterne
621
Forks
3.2k
Ø Merge
1 T. 2 Std.
Gemergte PRs (30 T.)
86

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.