@kbn/config-schema doesn't work in the browser. Kibana teams want to share some validation rules between client and server.
Right now @kbn/config-schema uses Joi v13 under the hood, which doesn't provide browser support. However, the last version of Joi does. Probably we can update the Joi version in @kbn/config-schema without introducing changes to the whole codebase.
@kbn/config-schemadoesn't work in the browser. Kibana teams want to share some validation rules between client and server.Right now
@kbn/config-schemausesJoi v13under the hood, which doesn't provide browser support. However, the last version of Joi does. Probably we can update the Joi version in@kbn/config-schemawithout introducing changes to the whole codebase.