serverless-plugin-typescript
serverless-plugin-typescript copied to clipboard
How do I configure serverless to fail on typescript compilation errors/warnings?
I have a repo with a tsconfig.json that fails typescript compilation, but running sls package just logs the errors/warnings instead of failing. Is there a way to configure it to fail?
add the following to tsconfig.json:
{
...
"noEmitOnError": true
...
}