You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently upgraded a bunch of things (including ember) in one of my apps. Now I've fixed most of the issues I'm left with one which I can't seem to track down.
I've tried looking for addons or plugins which could be causing this and I've tried rebuilding node_modules and each time the deprecation warning remains. I asked around on the ember discord and noone seemed to have any ideas. I spent several hours grepping through my node_modules directory hoping to find something that referenced jQuery and set it up to be transpiled but at the moment I'm basically looking for a needle in a haystack. Is there any way I can find out exactly where/why this is being transpiled?
The text was updated successfully, but these errors were encountered:
I believe I have finally managed to track down the error.
I had done ember install ember-jquery which was tripping ember-cli-babel, specifically the _shouldBlacklistJQuery function. Uninstalling and reinstalling it with ember install @ember/jquery has solved the problem. It may be worth adjusting the function to account for this.
I recently upgraded a bunch of things (including ember) in one of my apps. Now I've fixed most of the issues I'm left with one which I can't seem to track down.
In my code I have sections like
Which when I run it under ember serve is getting transpiled to:
I've tried looking for addons or plugins which could be causing this and I've tried rebuilding node_modules and each time the deprecation warning remains. I asked around on the ember discord and noone seemed to have any ideas. I spent several hours grepping through my node_modules directory hoping to find something that referenced jQuery and set it up to be transpiled but at the moment I'm basically looking for a needle in a haystack. Is there any way I can find out exactly where/why this is being transpiled?
The text was updated successfully, but these errors were encountered: