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

Export from bundles at assignment time, rather than with a final getter #27

Merged
merged 11 commits into from
Dec 28, 2014

Conversation

Rich-Harris
Copy link
Contributor

This fixes #17, wherein chained exports from bundles (e.g. import {foo} from 'bar'; export {foo}; in the entry module) were transformed incorrectly.

Rather than using a somewhat inelegant method involving Object.defineProperty(), exports are now exported at assignment time, rather than en masse at the end. This is the same as happens with one-to-one transformations.

Rich-Harris added a commit that referenced this pull request Dec 28, 2014
Export from bundles at assignment time, rather than with a final getter
@Rich-Harris Rich-Harris merged commit 43ac876 into master Dec 28, 2014
@Rich-Harris Rich-Harris deleted the gh-17 branch December 28, 2014 23:46
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.

Issue with bundled output via CLI
1 participant