Closed Qard closed 8 years ago
Setting module.exports
like we are currently is really common practice. This sounds like an issue with rollup.js.
I've filed an issue for it on rollup. It's a trivial fix here though, and probably a much more complex one over there, due to the ambiguity of whether something should be assigned to the named exports or the default object of an ES6 module.
FYI, have released a fix for rollup-plugin-commonjs
Thanks! I'll close this then. 😸
Rollup.js seems to break when setting and then modifying an export like this. Modifying
bel
directly fixes the issue.