Skip to content

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

@Toub

Description

@Toub

In order to use tailwind, I would like to build the app using craco (see https://tailwindcss.com/docs/guides/create-react-app).

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 : https://ionicframework.com/docs/cli/commands/capacitor-build

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions