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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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