Created
October 29, 2015 23:39
-
-
Save joshq00/5f77df648f14b33afae2 to your computer and use it in GitHub Desktop.
Babel 6 : React / stage 0
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
| { | |
| "presets": [ "react", "es2015" ], | |
| "plugins": [ | |
| "transform-es2015-modules-commonjs", | |
| "transform-react-constant-elements", | |
| ] | |
| } |
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
| { | |
| "name": "babel-6-project", | |
| "version": "1.0.0", | |
| "dependencies": { | |
| "babel-plugin-transform-es2015-modules-commonjs": "^6.0.2", | |
| "babel-plugin-transform-react-constant-elements": "^6.0.2", | |
| "babel-preset-es2015": "^6.0.8", | |
| "babel-preset-react": "^6.0.2" | |
| } | |
| } |
Author
Where's the stage-0?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It isn't necessary to include
babel-plugin-transform-es2015-modules-commonjsplugin, because its already included ines2015preset.