Skip to content

transform: support Babel6 #8

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

Closed
wants to merge 1 commit into from
Closed

Conversation

alunny
Copy link
Collaborator

@alunny alunny commented Jan 29, 2016

Babel 6 outputs module.default rather than module["default"] for
default exports. This patch supports both formats.

See also globalizejs/globalize-compiler#12

@@ -43,7 +43,10 @@
},
"devDependencies": {
"async": "0.9.0",
"babel": "^5.6.14",
"babel": "^6.3.26",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't need to install babel package anymore i believe

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds right, thanks

Babel 6 outputs `module.default` rather than `module["default"]` for
default exports. This patch supports both formats.
@rxaviers
Copy link
Owner

rxaviers commented Feb 1, 2016

👍

@rxaviers
Copy link
Owner

rxaviers commented Feb 1, 2016

I've noticed this repo mixes two coding styles spacey (e.g., require( "foo" )) vs. non-spacey (e.g., require("foo")), but this can be addressed separately.

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.

3 participants