Due to race conditions, some of the imports added by this plugin are not
processed in time by the Ember module API polyfill plugin. They are
instead handled by the AMD loader transform, and then never handled
correctly at all. This PR uses the new JS API exposed from the module
API polyfill plugin to manually process any new import statements.
To enable this, users should pass the ensureModuleApiPolyfill option.
Due to race conditions, some of the imports added by this plugin are not processed in time by the Ember module API polyfill plugin. They are instead handled by the AMD loader transform, and then never handled correctly at all. This PR uses the new JS API exposed from the module API polyfill plugin to manually process any new import statements. To enable this, users should pass the
ensureModuleApiPolyfill
option.