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 Browser Packages #4761

Closed
wants to merge 3 commits into from
Closed

Conversation

zpao
Copy link
Member

@zpao zpao commented Sep 1, 2015

WIP to build a new browser bundle.

cc @spicyj

Fixes #4754

@@ -19,7 +19,7 @@ module.exports = function() {
'packages/react-addons/package.json (version)': addonsData.version,
// Get the "version" without the range bit
'packages/react-addons/package.json (react dependency)': addonsData.peerDependencies.react.slice(1),
'src/React.js': reactVersionExp.exec(grunt.file.read('./src/React.js'))[1],
'src/ReactVersion.js': reactVersionExp.exec(grunt.file.read('./src/ReactVersion.js'))[1],
Copy link
Collaborator

Choose a reason for hiding this comment

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

Now that it's its own file, you could just require it…

@sophiebits
Copy link
Collaborator

Were we going to have the version on the other files?

@zpao
Copy link
Member Author

zpao commented Sep 2, 2015

Added the version in the right places.

Now what should we do about addons? I didn't really want to add 4 more builds as a result of this, but it looks like that's what's going to have to happen.

@zpao
Copy link
Member Author

zpao commented Sep 9, 2015

Going with #4814 instead

@zpao zpao closed this Sep 9, 2015
@zpao zpao deleted the build-react-dom-browser branch October 13, 2015 16:40
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.

3 participants