ionic-team / ionic-team/ionic-docs

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

未关闭
#2,674 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
content
主要语言
MDX
星标
621
派生
3.2k
平均合并
1 天 2 小时
30 天内合并 PR
86

描述

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

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
angular
领域
documentation
Issue 类型
文档
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。