You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've changed some of the rewriting behaviour so that exported vars (or lets) are always rewritten as export.foo = .... Involves a little bit of dancing around, but I think it's the best solution. Hopefully I didn't introduce any bugs in the process.
Here’s my entry file I’m trying to rollup:
export{event,select,selectAll}from"d3-selection";
The resulting code looks like this:
// initialization of event is incorrectly renamed “event$1”exports.event$1=null;// likewise with assignmentfunctionexample(foo){exports.event$1=foo;}// then the initial value is copied into the exports object under the correct nameexports.event=exports.event$1;
So, two problems:
There’s an undesired export “event$1” which has the correct value.
The desired export “event” is always null.
The text was updated successfully, but these errors were encountered:
Related #11, where you wrote:
Here’s my entry file I’m trying to rollup:
The resulting code looks like this:
So, two problems:
The text was updated successfully, but these errors were encountered: