Commit Graph

6 Commits

Author SHA1 Message Date
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
XiaoYan Li
f9849a2662 Safely assume module type for node_modules (#5052)
https://github.com/facebook/create-react-app/pull/5046#issuecomment-423501823
2018-09-21 08:46:41 -04:00
Joe Haddad
e8b0ee8080 Allow dynamic import proposal in node_modules (#5047) 2018-09-20 16:54:12 -04:00
Joe Haddad
a1a08dba98 Correct Babel dependency behavior (#5046)
* Correct babel dependency compile target

* Correctly compile runtime for dependencies
2018-09-20 16:24:08 -04:00
Michaël De Boey
25184c4e91 Fix links to package (#3898) 2018-01-22 22:16:22 +00:00
Dan Abramov
3d4440812c Compile dependencies with babel-preset-env (#3776) 2018-01-15 00:08:14 -05:00