I'm using babel and trying to export some functions under exports
. This is how I export my function
export function test (param1, param2) { ... }
currently, it does something like this:
exports.test = test;
function test(param1, param2) { ... }
is there a way to make babel create exports like this:
exports.test = function(param1, param2) { ... }