ionic-team / ionic-team/ionic-cli

Customize ionic build (e.g. using craco instead of react-scripts)

未關閉
#4,627 3 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
triage
主要語言
TypeScript
星號
2k
分支
682
PR 合併指標
30 天內沒有已合併 PR

描述

In order to use `tailwind`, I would like to build the app using `craco` (see ).

Is it possible to customize [https://ionicframework.com/docs/cli/commands/build](`ionic build`) command?

The documentation is not really clear about what does `ionic build` does, but it looks like it call "create scripts" build for react apps.

A workaround is to manually build the app, then running `ionic capacitor build --no-buid` :

Is it the right way to customize the build today? A better build documentation (especially about customization) would be really really nice.

貢獻指南

開啟貢獻指南

研究方向

Start with the Ionic CLI `build` and `capacitor build --no-build` command documentation linked in the issue, and compare their current behavior for React apps. Done means documenting whether `ionic build` can be customized for tools such as craco, or clearly documenting the supported manual-build workflow.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
react, tailwindcss, typescript
領域
build-system, cli, documentation
Issue 類型
文件
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。