ionic-team / ionic-team/ionic-cli

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

Offen
#4,627 3 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
triage
Vorherrschende Sprache
TypeScript
Sterne
2k
Forks
682
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.