Skip to content

Commit 14e490e

Browse files
committed
fix(sg): correct transform slot's tagName
1 parent dd7dcf7 commit 14e490e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/sg/rules/define-slots.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ utils:
44
is-default-slot:
55
kind: tag_name
66
regex: ^slot$
7+
inside:
8+
kind: start_tag
79
precedes:
810
not:
911
has:
@@ -31,6 +33,8 @@ utils:
3133
is-slot:
3234
kind: tag_name
3335
regex: ^slot$
36+
inside:
37+
kind: start_tag
3438
precedes:
3539
kind: attribute
3640
has:

0 commit comments

Comments
 (0)