Ensure eslint-loader works in a sensible way in prod
Created by: gaearon
I haven’t actually checked what it does.
I think we don’t want to fatal on build, but we want to print any errors/warnings.
We also want to make sure it doesn’t include console.log()
s with those warnings into prod bundle.