Currently moment is only packaged as UMD so we rely on Webpack to leverage it in elements and Web UI. However since we want to support ESM (ie for running tests and in the View Designer preview) we will need to package it ourselves.
- is required by
-
ELEMENTS-944 Run elements' unit test with ESM
- Resolved
-
NXP-28566 Use ESM version of moment.js
- Resolved