8000 allow overriding `bailMode` · Issue #3034 · angular/angular-cli · GitHub
[go: up one dir, main page]

Skip to content
allow overriding bailMode #3034
Closed
Closed
@KiaraGrouwstra

Description

@KiaraGrouwstra

angular-cli hardcodes webpack's bail setting as true, which cancels any build while there are remaining TS errors.
I find this unfortunate as TypeScript is imperfect, meaning there may be cases where it would be significantly harder to fully resolve all TS errors, while functionality may be just fine.
I understand that bail mode has significant advantages (error codes) as well. Would it perhaps be an option to allow having certain/general webpack settings overridden by the user using angular-cli.json somehow?
I'm actually a bit surprised I hadn't found things about extending webpack settings yet, as this might make ng-cli more flexible in general, hopefully allowing the user to add Pug/Less/Stylus at will as well (without having to bloat ng-cli with additional dependencies).
Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0