fix: remove ExportNamedDeclaration when the specifier is empty (#10638)
This commit is contained in:
committed by
Nicolò Ribaudo
parent
d023e105b7
commit
5e24016623
@@ -413,6 +413,8 @@ export default declare((api, options) => {
|
||||
|
||||
path.replaceWithMultiple(nodes);
|
||||
}
|
||||
} else {
|
||||
path.remove();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user