code: function getCosmiConfig() {
    try {
      const config = require(configPath);
  
      if (typeof config === 'object' && typeof config.iopipe === 'object') {
        return config.iopipe;
      }
    } catch (err) {
      Function.prototype; // noop
    }
  
    return {};
  }
docs: /*eslint-disable import/no-dynamic-require