Drop-in replacement to make ow validation library a noop in production.
npm install --save ow-shim
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.
MIT © Travis Fischer
Support my OSS work by following me on twitter