-
Notifications
You must be signed in to change notification settings - Fork 9
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
0.4.2 bad release? #20
Comments
Hi, The only change is 22257e5 which changes it to use module imports directly. See https://date-fns.org/docs/Getting-Started#submodules I guess that means date-fns@1 has no submodule method exports 🤔 I made this change because it allows ember-auto-import to minify the package better. |
My app is using I'm using I will test a bit and let you know, sounds like a issue with our app. |
Is the error thrown from within your app code or from the ember-power-calendar package? Is This makes sense though, as we're importing from date-fns in our app too. |
it is thrown within my app code. |
so i guess this is intended and i should include |
I think so. If i create a vanilla project that uses power calendar + power calendar date-fns it works fine. I think it's ok to let consumers explicitly depend on date-fns if they want to use it. |
I'm getting now the following js error in our app:
Not sure why, as I didn't change anything but updating
ember-power-calendar-date-fns
from 0.4.1 to 0.4.2.When I force the version to 0.4.1 it works normally.
Could also be a Issue with the implementation inside our app, but we are not doing anything special.
Do you have a clue why this happens?
The text was updated successfully, but these errors were encountered: