Hi, recently I'm facing a lot of problems at build time using Vite. At the page that I use EuiDatePicker, is breaking, and giving the following error: moment$1.locale is not a function.

In development works fine, but in the build breaks. I don't know if the error is with the EUI or with vite
ElasticUI version: 40.0.0
Moment version: 2.29.
Hi, recently I'm facing a lot of problems at build time using Vite. At the page that I use

EuiDatePicker, is breaking, and giving the following error:moment$1.locale is not a function.In development works fine, but in the build breaks. I don't know if the error is with the EUI or with vite
ElasticUI version: 40.0.0
Moment version: 2.29.