ow-shim
v1.0.2
Published
Drop-in replacement shim to make ow validation library a noop in production.
Downloads
26
Readme
ow-shim
Drop-in replacement to make ow validation library a noop in production.
Install
npm install --save ow-shim
Usage
There's no standard way to replace your usage of ow
with ow-shim
in production, but webpack's resolve.alias config option works well.
Any ow
statements will effectively be turned into no-ops.
You may also want to use this shim to cut down on browser bundle size.
License
MIT © Travis Fischer