-
Notifications
You must be signed in to change notification settings - Fork 120
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
split formatting i18n and i18n from main package #150
Comments
Sounds good. Should be possible and I am open for PRs. |
Also as a first improvement we could make the "moment" package a |
It should do the trick. I will try the branch later this week. |
Did you update and publish a new version to npm? Current 3.4.0 does not contain the |
I did not. If you want to help with that, check the v3.5.0 milestone 😉 |
Ah I see. Well that is way too much unsolved in there and I need a small bundle now. So I will go with my own for for now. |
Thanks 😉 |
The i18n text has been moved to separate files in #198. |
I can try to strip out the locales with webpack. Whats the current folder structure? Where are the locales saved? |
No, seems like the main opening_hours.js still contains all the locales. There is no way to strip them out that way. |
You will need to build your own |
I'm using the npm version. Can't build it myself |
The idea is that the NPM package ships with both the universal |
But it doesn't. or at least I don't see it. |
True, it has not been released yet and it is not yet clear to me if there is anything to watch out for when including ES6 files alongside and how to include them then. |
I am no longer using this lib, so I am cleaning up my open issues. |
@pke Just because you don’t use this lib anymore does not mean that you have to close valid issues you reported ;-) Reopening. For reference, you probably switched to https://github.com/pke/simple-opening-hours. I guess such info is always interested for others reading this. |
The lib comes in (minimized) at 115kb at the moment. Most of that is i18n text. Would it be possible to separate that from the core lib so we can
require
it on demand in projects?The text was updated successfully, but these errors were encountered: