This repository was archived by the owner on May 17, 2019. It is now read-only.

Description
If you follow the globalizejs instructions and attempt to use currency formatting module (though this breaks with ANY API you attempt to use as it breaks on import and/or require).
Type of issue
[Bug] - seeing as the docs specifically call out globalize as suggested library to use with fusion apps, I think it's ok to classify this as a 🐛.
Description
Google-foo led me to the following issue: globalizejs/globalize#603.
The recommendation is to either add a bunch of webpack aliases or use https://github.com/rxaviers/globalize-webpack-plugin/.
Current behavior
On import/require of globalize, you get the following error:
Module not found: Can't resolve 'cldr/event' in '.../node_modules/globalize/dist'
Expected behavior
We should either be able to use globalize or remove it as suggestion in the fusionjs docs and using an alternative like https://formatjs.io/ instead.
Your environment
-
fusion-cli version: 1.13.1
-
Node.js version (node --version): v8.12.0
-
npm version (npm --version): 6.4.1
-
yarn version: 1.10.1
-
Operating System: Mac OS Mojave