-
-
Notifications
You must be signed in to change notification settings - Fork 17
Using ES6 via Babel
EGOISTIAN edited this page Mar 10, 2016
·
2 revisions
The default setup with Babel is:
- babel-runtime
- babel-plugin-transform-runtime
- babel-preset-es2015
- babel-preset-stage-0
You can use CLI argument --use react
to enable following preset:
- babel-preset-react
Feel free to import babel-polyfill
in your app, it's shipped with tooling
.