Thanks for your work on this plugin! I think I ran into an issue with this plugin when encountering code like:
const foo = 1;
const BAR = 2;
export { foo as default, BAR };
I would expect there to be a default and a BAR named export. However, it seems as though there is only a default export in this case.
Here's a failing test case I wrote:
{
name: 'end of module export',
code: 'const foo = 1;const BAR = 2;export { foo as default, BAR }',
expected: {
module: {
default: 1,
BAR: 2
},
exports: {
default: 1,
BAR: 2
}
}
},
Thanks for your work on this plugin! I think I ran into an issue with this plugin when encountering code like:
I would expect there to be a default and a
BARnamed export. However, it seems as though there is only a default export in this case.Here's a failing test case I wrote: