Added a `treatWarningsAsErrors` option