ionic-team / ionic-team/ionic-cli

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

Open
#4,627 3 comments 1 reaction 0 assignees View on GitHub
triage
Dominant language
TypeScript
Stars
2k
Forks
682
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.