code: function() {
      this._super.included.apply(this, arguments);
  
      let app = this._findApp();
      let importTarget = app;
  
      if (typeof this.import === 'function') {
        importTarget = this;
      }
  
      app._fetchBuildConfig = Object.assign({
        preferNative: false,
        alwaysIncludePolyfill: false,
        browsers: this.project.targets && this.project.targets.browsers
      }, app.options['ember-fetch']);
  
      importTarget.import('vendor/ember-fetch.js', {
        exports: {
          default: [
            'default',
            'Headers',
            'Request',
            'Response',
            'AbortController'
          ]
        }
      });
    }
docs: /*
  The `included` hook is invoked at the very beginning of the build process.
  It gets passed the `EmberApp` model
  (https://github.com/ember-cli/ember-cli/blob/master/lib/broccoli/ember-app.js),
  which allows us to use the `import()` method to tell it to include a file
  from our `vendor` tree into the final built app.