andreypopp / andreypopp/typescript-loader
Throw error code when build fails
Open
- Dominant language
- JavaScript
- Stars
- 81
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
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.

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.