Feature: make options validation optional
medfreeman opened this issue · comments
Mehdi Lahlou commented
make joi
an optionalDependency
convert joi import to dynamic require
Mehdi Lahlou commented
exclude it from browser build and force joi-browser to be loaded externally if needed
will help reduce the browser bundle size