sindresorhus / ow

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

Adding note about use with webpack for the browser #190

Closed RileyMathews closed 3 years ago

RileyMathews commented 3 years ago

My team recently implemented ow in a browser app we are writing. We struggled to get everything working with webpack but eventually came across this config that allowed us to safely compile. Hoping this small addition can save others the pain of implementing this library in a browser app.

I believe this should also be a fix for this issue.

sindresorhus commented 3 years ago

This should no longer be needed: https://github.com/sindresorhus/ow/releases/tag/v0.20.0