if (node.object && node.object.type === 'Identifier') {
          componentPath.push(node.object.name);
        }