Skip to content

Commit 83ec206

Browse files
committed
emit
1 parent 058dd1e commit 83ec206

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utils.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ export function excludeNames(names: string[], slot: Slot) {
147147
let currSlot: Slot | null = slot
148148
while (currSlot != null) {
149149
for (const mapName of currSlot.names.keys()) {
150-
if (['watch', 'hooks', 'setup'].includes(mapName)) {
150+
151+
if (['watch', 'hooks', 'setup','emits'].includes(mapName)) {
151152
continue
152153
}
153154
const map = currSlot.names.get(mapName)!

0 commit comments

Comments
 (0)