ionic-team / ionic-team/ionic-cli
Customize ionic build (e.g. using craco instead of react-scripts)
- 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
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, tailwindcss, typescript
- Domain
- build-system, cli, documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100