You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
angular-cli
hardcodes webpack'sbail
setting astrue
, 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?
The text was updated successfully, but these errors were encountered: