Throw on build error if in production mode
Merge pull request #53 from latentflip/master

Throw on build error if in production mode