sindresorhus / ow

Function argument validation for humans
https://sindresorhus.com/ow/
MIT License
3.8k stars 105 forks source link

Logs the enitre source file when throwing an error. #189

Closed rocktimsaikia closed 3 years ago

rocktimsaikia commented 3 years ago

Whenever ow throws an error it logs the entire minified source file dist/source/index.js.But It also does throw the expected error at the end too. Initially, I thought it was because of my node version since I was using the latest 14.13.0 version. So I tried with the LTS version but the result is the same.

sindresorhus commented 3 years ago

It started happening after a new version, so I suspect it's because of changes in TypeScript or Webpack.