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 believe this worked prior to 3.27 because the transformation of registerWaiter to Ember.registerWaiter meant no import was present, and therefore registerWaiter being undefined did not break anything as apps typically wrap usage of it in if (DEBUG) {} or if (Ember.testing) {}.
The text was updated successfully, but these errors were encountered:
runspired
changed the title
Removal of modules polyfill breaks production builds for all apps using registerWaiter
Removal of modules polyfill for ember-source 3.27+ breaks production builds for all apps using registerWaiter
May 11, 2021
Offending imports:
These imports are missing in non-test env production builds leading the build to break. This includes all versions of EmberData, meaning that a large share of apps running ember-source 3.27 are unable to ship to production
I believe this worked prior to 3.27 because the transformation of
registerWaiter
toEmber.registerWaiter
meant no import was present, and thereforeregisterWaiter
being undefined did not break anything as apps typically wrap usage of it inif (DEBUG) {}
orif (Ember.testing) {}
.The text was updated successfully, but these errors were encountered: