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

Build with babel-preset-fbjs #6876

Closed
wants to merge 1 commit into from
Closed

Conversation

zpao
Copy link
Member

@zpao zpao commented May 25, 2016

WIP: Update our build to use babel-preset-fbjs. A couple tests appear to be failing so I still need to look into that. It looks like the only difference in build files is that the preset adds the function names, otherwise I think we're identical (full diff: https://gist.github.com/zpao/7a8dc9613d9e047d680f7b1708d5368a)

src,
Object.assign(
{filename: path.relative(process.cwd(), filePath)},
babelOptions
)
).code;
if (/ReactElementValidator\-test/.test(filePath))
console.log(code);
Copy link
Member Author

Choose a reason for hiding this comment

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

oooooops, this is how I try to debug to see if the transform did something weird. This would obviously go away.

@aweary
Copy link
Contributor

aweary commented Jan 26, 2017

@zpao do we still want to do this?

@zpao
Copy link
Member Author

zpao commented Feb 6, 2017

Meh. Probably not a bad idea but I don't think I'm going to come back to it. Closing out but feel free to reboot the effort.

@zpao zpao closed this Feb 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants