Rafael Xavier de Souza

Results 332 comments of Rafael Xavier de Souza

This module needs a complete overhaul. I am open for contribution. Please see #78

Please, can you share in a gist a minimum way to reproducible the issue you see?

`require('cldr-data')` can't be used with webpack because when it sees [dynamic imports](https://github.com/rxaviers/cldr-data-npm/blob/master/index.js#L55), webpack simply includes everything. It works including things explicitly such as `import enNumbers from "cldr-data/main/en/numbers.json"` (tedious). A better...

Please, does this still apply to you? Or was it an intermittent issue?

I am open to revisit globalize packages peer dep on cldr-data

I liked it :+1:. In that line of thought: - `cldr-loader` could borrow most of `cldr-data` index.js code. - `cldr-data` could use `cldr-loader` (i.e., most of its could be moved)...

Yes, you can include each file explicitly like `cldr-data/main/en/numbers.json`, but that's a bit tedious. If you're using globalize, you can use globalize webpack plugin. We should update README.md to reflect...

OK. You can't use `import cldrData from 'cldr-data'` in webpack because it goes crazy --- and webpack is correct in doing so, it's a static compiler. You need to import...

Excellent, let's try to help to clarify this to people having same issues in our README. :) Thanks

@mummybot this could be useful to you https://github.com/rxaviers/cldr-data-downloader/issues/25