code: function createConfigItem(ref, type, options = {}) {
  	return babel.createConfigItem([require.resolve(ref), options], {type});
  }
docs: Resolved paths are used to create the config item, rather than the plugin function itself, so Babel can print better error messages. See <https://github.com/babel/babel/issues/7921>.