We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b964c4 commit ce386b9Copy full SHA for ce386b9
index.js
@@ -1,5 +1,6 @@
1
module.exports = function resolveNestedSelector(selector, node) {
2
var parent = node.parent;
3
+ if( !parent ) return [];
4
var parentIsNestAtRule = parent.type === 'atrule' && parent.name === 'nest';
5
6
if (parent.type === 'root') return [selector];
0 commit comments