26 Commits

Author SHA1 Message Date
Diogo Franco (Kovensky)
cf5ab16ff9 Add useBuiltIns and useESModules options to transform-runtime
useBuiltIns uses versions of the helpers that do not import even
internal polyfills from core-js.

useESModules uses versions of the helpers that do not go through
transform-es2015-modules-commonjs. This allows for smaller builds in
module systems like webpack, as it doesn't need to preserve commonjs
semantics.

This includes changes to the babel-runtime build-dist script, which
will build the versions of the runtime helpers to be used by
combinations of useBuiltIns and useESModules.
2017-03-10 16:27:35 +09:00
Kai Cataldo
e09ea222c9 Remove babel-runtime from packages' dependencies (#5218) 2017-01-27 09:04:35 -05:00
Vivek Kumar Bansal
728072f47b [7.0] Remove old babel-runtime code (#5187) 2017-01-21 11:25:29 -05:00
Logan Smyth
e18dc7a6d3 Avoid destructuring in untranspiled script. 2017-01-15 13:54:54 -08:00
Andres Suarez
658f13e030 Replace uses of "lodash/each" with native equivalents 2017-01-15 13:54:54 -08:00
Andres Suarez
85b3aec747 Use native or lodash util module where full "lodash" is required 2017-01-15 13:35:00 -08:00
Henry Zhu
c5836b0bc2 Misc: remove unused devDep [skip ci] 2016-07-25 09:44:44 -04:00
Ben Newman
b3acf9100e Make babel-runtime use regenerator-runtime from npm. (#3494)
The source repository for regenerator-runtime can now be found at
https://github.com/facebook/regenerator/tree/master/packages/regenerator-runtime

This also removes the babel-regenerator-runtime package, now that the only
difference between it and regenerator-runtime has been resolved:
bc8d2d672c
2016-05-28 19:04:48 -04:00
Jordan Klassen
dc1f40540d Upgrade to lodash 4 (#3315)
* Upgrade to lodash 4

* Fix incorrect require in babel-runtime/scripts

* Replace cloneDeep with cloneDeepWith where applicable
2016-05-13 17:15:14 -04:00
Denis Pushkarev
e50be68400 add special case for legacy modules to the runtime build script 2016-02-09 15:28:17 +06:00
Logan Smyth
d2ee421941 Make runtime point at itself and avoid nesting helpers - fixes T6644 2015-12-06 09:56:50 -08:00
Logan Smyth
b9e675597c Make alternate compat names load from main helpers 2015-12-05 23:57:35 -08:00
Sebastian McKenzie
983ca5c71f add function.sent 2015-11-17 23:02:21 -08:00
Sebastian McKenzie
fe5aff09a4 fix remaining babel helper issues 2015-11-11 22:45:50 -08:00
Sebastian McKenzie
0df276272a add progress bar to bootstrap script and clean up the output 2015-11-08 23:04:29 -08:00
Sebastian McKenzie
5589a583c8 don't use absolute paths when importing the runtime definitions, instead just export it - fixes #2909 2015-11-08 02:44:05 -08:00
Sebastian McKenzie
f72802bec9 hoist requires required for core-js build-dist 2015-10-30 17:58:49 +00:00
Sebastian McKenzie
c91509b87a Merge pull request #2651 from babel/thejameskyle-patch-1
Remove unused Lodash import
2015-10-30 17:57:22 +00:00
Sebastian McKenzie
e92b0cad69 move up core-js in babel-runtime build-dist 2015-10-30 17:54:10 +00:00
James Kyle
1a772d5cbf Remove unused Lodash import 2015-10-29 21:26:44 -07:00
Sebastian McKenzie
a9b1c3ee52 fix plugin reference 2015-10-29 18:43:02 +00:00
Sebastian McKenzie
ae7d5367f1 6.0.0
I'm extremely stupid and didn't commit as I go. To anyone reading this
I'm extremely sorry. A lot of these changes are very broad and I plan on
releasing Babel 6.0.0 today live on stage at Ember Camp London so I'm
afraid I couldn't wait. If you're ever in London I'll buy you a beer
(or assorted beverage!) to make up for it, also I'll kiss your feet and
give you a back massage, maybe.
2015-10-29 17:51:24 +00:00
Sebastian McKenzie
b7c91178a9 fix babel-runtime build-dist requires 2015-09-01 05:00:24 +01:00
Sebastian McKenzie
afbd9a0870 fix babel-runtime dist require locations 2015-07-15 11:44:27 +01:00
Sebastian McKenzie
45e1eb343b fix locations in build-dist babel-runtime script 2015-07-14 21:35:59 +01:00
Sebastian McKenzie
2d5d1ceb5c t 2015-07-13 16:34:43 +01:00