mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
5fd4467bf7
getConfig needs to be a function because grunt.config.data.pkg.version isn't available at the time that grunt/config/jsx/jsx.js is required. Test Plan: grunt build, grunt lint, grunt test all work. After building, both react.js and react.min.js contain the version number.