Is it possible to recreate the following with ES6 module syntax?
var foo = {};
module.exports = foo;
ES6 has support for adding the declarative keyword to the expression, like so:
export var foo = 'bar';
However, when run through 6to5, this generates:
var foo = exports.foo = 'bar';
Is it possible to use this syntax in conjunction with the default keyword, in order to generate the top code snippet?