Version: 1.1.41.1.51.1.61.2.01.2.11.2.21.3.01.3.11.3.21.4.01.4.11.4.21.4.31.4.41.4.51.5.01.5.11.5.21.5.31.5.41.5.51.5.6-alpha.01.5.6-ci.01.5.61.5.7-alpha.01.5.71.5.8-alpha.01.5.81.5.91.6.01.6.11.6.21.6.31.6.41.6.51.6.61.6.71.6.81.6.91.6.101.6.111.6.121.6.131.6.141.6.151.6.161.6.171.6.181.6.191.6.201.6.211.6.222.0.0-ci.352.0.0-ci.432.0.0-ci.502.0.0-next.02.0.0-next.12.0.0-next.32.0.0-next.42.0.0-next.52.0.0-next.62.0.0-next.72.0.0-next.82.0.0-next.9
module.exports = () => {
return {
visitor: {
ExportNamedDeclaration(path) {
const declaration = path.node.declaration
// Ignore "export { Foo as default }" syntax
if (declaration) {
path.replaceWith(declaration)
}