-
Notifications
You must be signed in to change notification settings - Fork 103
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
Support ESM #247
Support ESM #247
Conversation
Do you have any timeline for when this is going to be released? |
Will try during this week, this is quite a huge change - need one more iteration over the changes. Probably you can test out this branch meanwhile? |
Tested: it's no longer throwing the error described in #245
But the application still works, guess you can ignore this as it should not be related to ESM but specifically to Polymer. |
Unfortunately, I can't work with this release as the build of my application fails
Line 9 is this import It seems like you are using some features that the other packages I'm using don't?! Maybe you can test it with the provided sample in #245 by running |
You mean that |
Yes, that's correct. In our real application |
I suppose you can extend app configuration by enabling I can check this myself later - hopefully later today. |
Could make |
Isn't this a babel configuration inside the Polymer analyzer package? Can I override that from within my application? I'll try it too. |
You are right, I could solve it by installing |
Great, thanks! Let me then check out your test repo with latest changes, iterate over changes one more time, I will then release centrifuge-js |
Hi @FZambia Sorry for spamming, but while I've tried to transfer the supposedly working babel configuration to my real project, I realized that it does not work. Installing After linking the local directory again, the Some interesting links: |
But you said demo app works OK now? So I am not sure how I can test it in this case since problem only reproduces in your real app. |
The demo app only worked because after I ran For you this means, just pull my latest changes, run |
I fear that w/o changing some code in your repo I will not be able to use it with Polymer. I could get rid of the error by changing
Besides the fact that this is a chg in a package not own by myself and is also no longer maintained, the build failed on a different component which does not fail if these two plugins are not added. Do you see any chance to refactor the static class properties and the code that makes optionalCatchBinding necessary?
so a catch w/o an argument. |
@HJK181 hello, made some adjustments, please check it out again. |
Good morning @FZambia, tested it with the example application and our real application, it works! Both |
Support ESM in addition to CommonJS. Relates #245