create new raw identifiers instead of cloning the original user one when exploding export specifiers - fixes #2092
This commit is contained in:
parent
2c3566de03
commit
90fb36d3ea
@ -24,7 +24,7 @@ function getDeclar(node) {
|
||||
*/
|
||||
|
||||
function buildExportSpecifier(id) {
|
||||
return t.exportSpecifier(clone(id), clone(id));
|
||||
return t.exportSpecifier(t.identifier(id.name), t.identifier(id.name));
|
||||
}
|
||||
|
||||
export var metadata = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user