fix: remove ExportNamedDeclaration when the specifier is empty (#10638)
This commit is contained in:
parent
d023e105b7
commit
5e24016623
@ -413,6 +413,8 @@ export default declare((api, options) => {
|
|||||||
|
|
||||||
path.replaceWithMultiple(nodes);
|
path.replaceWithMultiple(nodes);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
path.remove();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -0,0 +1 @@
|
|||||||
|
export {}
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
System.register([], function (_export, _context) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
return {
|
||||||
|
setters: [],
|
||||||
|
execute: function () {}
|
||||||
|
};
|
||||||
|
});
|
||||||
Loading…
x
Reference in New Issue
Block a user