Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix another named export bug. #170

Merged
merged 2 commits into from
May 29, 2015
Merged

Fix another named export bug. #170

merged 2 commits into from
May 29, 2015

Conversation

mbostock
Copy link
Contributor

Follow-up to #145 #169. This one occurred with bundle.toUmd in strict mode.

mbostock added 2 commits May 28, 2015 17:58
For example, consider external module d3-selection:

  import Selection from "./src/selection";
  export {Selection as selection};

And entry module:

  import {selection} from "d3-selection";
  export {selection};

Previously, this would fail with an error saying that d3-selection did not
export "selection". (The code thought it exported "Selection".) In addition to
the doesExport fix, we also need to fix the resolve chains to follow aliases.
@mbostock
Copy link
Contributor Author

Found another bug and added a commit.

@Rich-Harris
Copy link
Contributor

Perfect timing, I was just about to merge this. Have added a test for the first commit (this library's test suite has grown pretty woolly, I really need to sort it out), will put in a second one and release 0.7.2 momentarily. Thanks!

@Rich-Harris Rich-Harris merged commit 0d933e1 into esperantojs:master May 29, 2015
Rich-Harris added a commit that referenced this pull request May 29, 2015
@Rich-Harris
Copy link
Contributor

Released 0.7.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants