Skip to content

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 zpao force-pushed the build-react-dom-browser branch from a5005a8 to 2e46657 Compare September 2, 2015 19:02
@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