andreypopp / andreypopp/typescript-loader

Throw error code when build fails

未关闭
#21 3 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
81
派生
9
PR 合并指标
30 天内没有已合并 PR

描述

When using `typescript-loader` with webpack, failed compilations cause an exit code of `0` to be returned, even when the `--bail` flag is set on webpack (which is soon going to be switched to the default behavior: https://github.com/webpack/webpack/issues/708).

This breaks build tools like `make` and Docker, which use exit codes to determine whether a process encountered an error or not.

![screenshot - 04222015 - 10 28 26 am](https://cloud.githubusercontent.com/assets/376414/7276837/840b4dec-e8da-11e4-8362-c44f531d8cd9.png)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。