You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recently added the FooterSlim component to our application and noticed the bundle size increased about 100kb. This seems to mostly be due to the inclusion of moment as a dependency in this component, which comes with a large set of locale files:
It looks like the footer component uses moment as a way to reference the current year in the copyright text, in which case something like the following should work without requiring an external dependency:
Mayflower version:
10.0.0-alpha.2
We recently added the
FooterSlim
component to our application and noticed the bundle size increased about 100kb. This seems to mostly be due to the inclusion ofmoment
as a dependency in this component, which comes with a large set of locale files:It looks like the footer component uses
moment
as a way to reference the current year in the copyright text, in which case something like the following should work without requiring an external dependency:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getFullYear
The text was updated successfully, but these errors were encountered: