10 Commits

Author SHA1 Message Date
Dan Abramov
5645aa921d Resolve babel-runtime relative to the config (#535)
This makes generators work with Jest.

Fixes #255.
Replaces #262.
2016-09-01 18:01:11 +01:00
Kristóf Poduszló
01825465c6 Started using babel-preset-latest (#490)
* Started using babel-preset-latest

* Updated babel dependencies

* Remove redundant babel-plugin-syntax-async-functions

* Disabled redundant regenerator transform
2016-08-25 13:52:16 +01:00
Dan Abramov
c1a984d98e Document configuration and build process (#362) 2016-08-04 20:56:52 +01:00
Ville Immonen
6ea7ec5a4b Transform async functions with regenerator (#332)
* Transform async functions with regenerator

Remove `transform-async-to-generator`, which to my understanding is meant
to be used in environments that support generators natively.

Because we're compiling generators to ES5 anyway, we can simply use
`regenerator` to transform async functions too, which results in
slightly simpler output and only uses the regenerator runtime instead
regenerator runtime + _asyncToGenerator Babel helper.

* Add babel-plugin-transform-regenerator

* Use dependencies with an exact version
2016-08-03 00:44:09 +01:00
Dan Abramov
fa38991b75 Support async/await (#327)
* Make Babel config more verbose and simpler

* Support async/await
2016-08-02 14:38:43 +01:00
Dan Abramov
11894dcdb3 Enable generators (#238)
* Enable generators

* Opt out of using helpers
2016-07-27 21:44:50 +01:00
Alex Zherdev
88363b14a0 Turn off .babelrc usage (#236) 2016-07-27 15:41:34 +02:00
Dan Abramov
b91bf6675d Add support for some ES proposals that we use (#43) 2016-07-20 18:15:49 +01:00
Dan Abramov
2dc6d2c903 Resolve loaders relative to react-scripts (#36)
Fixes #31
2016-07-20 14:35:00 +01:00
Dan Abramov
3d77f5be20 Use a custom ESLint rule list (#27)
* Use a custom eslint rule list

* Sort rules

* Relax some rules
2016-07-20 00:12:49 +01:00