Skip to content

Option not to fail build on warnings in CI environment #2453

Closed
@varnav

Description

@varnav

Currently if CI environment variable is set to true, and any warnings emitted, build fails (#944). There is no way to alter this behavior other than unsetting CI envvar that may be undesirable. You cannot even customize the rule set (#808).
Please add command-line option like --no-fail-on-warnings or add any other way to make this less strict.

https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/scripts/build.js#L115

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions