At the moment in a npm package I have an index.js file that imports a func and immediately exports it as default.
import joiValidator from './utils/joiValidator';
export default joiValidator;
Is there a way I can combine them into one cleaner line?