Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a distributed bundle (dist) for consumption #159

Open
davidbarratt opened this issue Mar 20, 2018 · 4 comments
Open

Provide a distributed bundle (dist) for consumption #159

davidbarratt opened this issue Mar 20, 2018 · 4 comments

Comments

@davidbarratt
Copy link
Member

As documented in #80 there are several files that have to be included in a specific order. You also have to download the git submodule and include those files as well.

It would be really helpful if there was a distributed bundle that was created that continued a single, minified file with the entire library in it that was ready to load.

Webpack could be used to generate this bundle fairly easily, but it would need to be kept up to date (but this could be automated with an npm or git hook).

@ssuess
Copy link
Contributor

ssuess commented Sep 24, 2019

PLEASE update the docs to include info about this. We spent the better part of the day wondering why we were getting an error in Portuguese (but not in Spanish or English). If the docs had been clear about what to include (in our case CLDRPluralRuleParser.js) we could have saved ourselves a lot of time.

@santhoshtr
Copy link
Member

@ssuess Thanks for the patch. I merged it. In case it helps, we are mostly focussing on jquery independent library. See https://github.com/wikimedia/banana-i18n also comes with react and vue bindings

@thepra
Copy link

thepra commented Oct 6, 2019

Is there any plan on releasing such a bundled i18n.min.js easily downloadable without bindings?
I don't use any bundler and there's no need to introduce in the project js bundlers.

@jarodium
Copy link

I second the opinion of @thepra
Including a bundle for download would be great. Personally I don't really need the languages bundled in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants