Created
October 12, 2018 14:05
-
-
Save jackpopp/792d684d248b0d43149b3b0e1a166a68 to your computer and use it in GitHub Desktop.
Code block 51.js for - test.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// from this | |
if (process.env.NODE_ENV === 'production') { | |
module.exports = require('./cjs/react.production.min.js'); | |
} else { | |
module.exports = require('./cjs/react.development.js'); | |
} | |
// to this | |
{ | |
module.exports = require('./cjs/react.development.js'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment