Generate Source Map only if it is available
Avoid `if` nesting