code: function getReferences(path, variableName) {
    const bindings = path.scope.getBinding(variableName);
    const references = bindings.referencePaths;
    return references;
  }
docs: Get the references to the variable in the path scope.
  @example Within the path scope, returns references to `loadPlugins` variable.