Skip to content

CLI: display "typeCheck / SWC" info message only when relevant  #2791

Closed
@gterras

Description

@gterras

Is there an existing issue that is already proposing this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe it

Having SWC set as per the docs, and using --type-check flag, an info message will be displayed:

"typeCheck" will not have any effect when "builder" is not "swc".

image

This message seems to be only useful when actually not using SWC, in any other case it's a bit confusing since it tends to bring the question "wait is SWC actually enabled here?" every time this is ran. It also adds a bit of clogging.

Describe the solution you'd like

Do not display the message if SWC is actually the selected builder (could then also be turned into a warning).

Teachability, documentation, adoption, migration strategy

ced1ca60-8ab2-41b2-8516-de994cf3e699

What is the motivation / use case for changing the behavior?

QOL

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions