Open tschoartschi opened 5 years ago
@marten-dockyard could someone give me feedback on this issue? If we want to support glimmer.js and if we have a rough idea how to do so, I could try to create a PR 🙂
would be great to get some opinion about this problem. As I said, I could maybe help to make this addon available for glimmer.js
Looks like this would have started here: https://github.com/DockYard/ember-service-worker/commit/9d6db8a846c270b641010bdef6a87e14fe7d1d40#diff-61e7a77a0dda836b877cba3567f38581
My understanding is that this choice was made to leverage ember-cli-babel
various features to work with targets, polyfills, etc. I must admit that I haven't had a chance to work much with glimmer. I don't see anything immediately in glimmer that prevents the usage of ember-cli-babel
. Can you explain your scenario a bit more? Do you have any suggestions for alternate approaches?
@eshtadc thanks for the response :-) if I add ember-cli-babel
to our glimmer.js project we can not build it anymore. Maybe it's a bug with the glimmer-application-pipeline
. I need to investigate this in more detail maybe I need to open an issue at the glimmer-application-pipeline
as well
We used
ember-service-worker
with our Glimmer.js app and it just worked fine with versionv0.6.2
now we tried to upgrade to the newest version which is currentlyv0.7.2
but this upgrade broke our build. This is due to the fact, that Glimmer.js has not installedember-cli-babel
and therefore the following code breaks:https://github.com/DockYard/ember-service-worker/blob/5ffad2483808e3a05860b3f00fb731e0fd24c147/lib/service-worker-builder.js#L125
On the other hand adding
ember-cli-babel
breaks our Glimmer.js build. So I'm not sure how to resolve this issue.I know that Ember.js is not Glimmer.js and therefore I'm not sure if this is an issue with
ember-service-worker
or a Glimmer.js issue. Nevertheless it would be great to share as much addons and plugins as possible between Ember.js and Glimmer.jsJust let me know what you think about this issue