-
Notifications
You must be signed in to change notification settings - Fork 869
moment.location is not defined #6635
Copy link
Copy link
Closed
Labels
answeredIssues answered by the EUI team - auto-closes open issues in 7 days if no follow-up responseIssues answered by the EUI team - auto-closes open issues in 7 days if no follow-up response
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
answeredIssues answered by the EUI team - auto-closes open issues in 7 days if no follow-up responseIssues answered by the EUI team - auto-closes open issues in 7 days if no follow-up response
Type
Fields
Give feedbackNo fields configured for issues without a type.