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

Add build process to all addons #9946

Merged
merged 5 commits into from
Jun 13, 2017
Merged

Conversation

gaearon
Copy link
Collaborator

@gaearon gaearon commented Jun 13, 2017

I think this should be it. I haven't verified the final “replacement” stage works yet (still have to do it manually) but apart from that, this should be ready.

fs.writeFileSync('./' + packageName + '.min.js', prodUMD);

console.log('Done.');
console.log('Note that you need to manually test the UMD builds.');
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We test UMDs, but then this script overrides them to tack things onto React.addons object.

It would be nice to make this more solid but I'm a bit out of ideas or care here. I'll test that it works manually later and I'd just leave it at that. It's still better than lack of any tests..

@gaearon gaearon merged commit 129307f into facebook:15.6-dev Jun 13, 2017
@flarnie flarnie mentioned this pull request Jun 13, 2017
49 tasks
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