Commit Graph

9 Commits

Author SHA1 Message Date
Joe Haddad
72d4ab0292 Strip flow syntax before any other transform (#5182)
* Strip flow syntax before any other transform
Plugins run before presets so we can't use the flow preset

* Add informative comment
2018-09-30 20:06:38 -04:00
Joe Haddad
27ac52ac2f Remove runtime alias hack (#5142)
* Remove runtime alias hack

* Pass absolute path to preset

* Change comment

* Give a relative path to absolute runtime

* Clean up config

* Tweak again

* Make absolute runtime the default

* Remove runtime package from error overlay
2018-09-27 16:52:43 -04:00
Conrad Buck
52f2946919 Eliminate regenerator from preset-react-app plugins (#4630)
Regenerator is already included by preset-env.

Fixes #4627
2018-09-27 00:12:49 -04:00
Joe Haddad
adfb20c403 Turn on Babel helpers (#5093)
* Turn on helpers and test importing something with async/await works

* Compiling babel runtime breaks itself

* Add helpers option to babel plugin with defaults

* Make helpers off by default and on in our configuration

* Hit eject and e2e

* meh

* copy'n'paste

* change again

* Turn off helpers by default in /prod, /dev, /test

* oops

* Spread undefined

* Use object assign not object spread

* Put preset in template since it's needed

* Fix e2e tests
2018-09-25 18:59:06 -04:00
Joe Haddad
c989b70b89 Further tweak runtime plugin per documentation 2018-09-20 11:26:33 -04:00
Joe Haddad
054ba79ff6 Turn off use built ins 2018-09-20 11:22:59 -04:00
Joe Haddad
0bdbe42768 Upgrade to Babel 7 stable (#5042)
Closes #4932, Closes #4876
2018-09-20 10:17:09 -04:00
Joe Haddad
c9e1876382 Lock babel configuration back to IE 9 support (ES5) (#5033) 2018-09-19 15:54:24 -04:00
Dan Abramov
1407287839 Add mode entry points to our preset (#4669) 2018-06-23 14:41:51 +01:00