I've [previously written code to do this](https://github.com/gatsbyjs/gatsby/blob/57390e8da2d89c6abd0ad235c7389f39d072a36f/packages/gatsby-plugin-mdx/utils/babel-plugin-remove-export-keywords/index.js) so we should port that code into a package in this monorepo and name it `babel-plugin-remove-export-keywords`.