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
We are using ember-cli-sentry (v1 addon, and yes, I know it's old and deprecated), and an internal (v2!) addon that is overriding the former's instance-initializers/raven-setup.js (using app-js). To ensure its own initializer takes precedence, it has explicitly this meta data in its package.json:
This works fine in a classic build: only the internal addon's initializer is invoked, shadowing the one from ember-cli-sentry.
But when switching to Embroider (v3), this regresses: the initializer from ember-cli-sentry is called. The internal addon's one is not even in the bundle AFAICT. Same applies for the service. Changing after to before also makes no difference.
I believe we didn't see this when the internal addon was still v1 based, but not entirely sure.
The text was updated successfully, but these errors were encountered:
@patricklx pointed my to ./node_modules/.embroider/resolver.json#activeAddons, which lists our internal addon before ember-cli-sentry, and that does not change when I change ember.after to before.
We are using
ember-cli-sentry
(v1 addon, and yes, I know it's old and deprecated), and an internal (v2!) addon that is overriding the former'sinstance-initializers/raven-setup.js
(usingapp-js
). To ensure its own initializer takes precedence, it has explicitly this meta data in its package.json:This works fine in a classic build: only the internal addon's initializer is invoked, shadowing the one from
ember-cli-sentry
.But when switching to Embroider (v3), this regresses: the initializer from
ember-cli-sentry
is called. The internal addon's one is not even in the bundle AFAICT. Same applies for the service. Changingafter
tobefore
also makes no difference.I believe we didn't see this when the internal addon was still v1 based, but not entirely sure.
The text was updated successfully, but these errors were encountered: