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
Brian Ng
8a82cc060a
Run new lint rules ( #5413 )
2017-03-04 10:46:01 -05:00
Logan Smyth
4ee385e96c
Avoid usage of exports/module.exports/require().
2017-02-21 16:52:42 -08:00
Henry Zhu
9083bd6283
Merge branch 'master' into 7.0
2017-02-09 18:36:02 -05:00
Jimmy Jia
9de923258c
Don't transpile ES7 symbol properties ( #5195 )
2017-02-07 11:19:14 -05:00
Shubheksha Jalan
c468b15a15
[7.0] removed old code from transform-runtime ( #5142 )
2017-01-19 22:20:04 -05:00
Henry Zhu
672adba9a1
enable prefer const ( #5113 )
2017-01-14 09:48:52 -05:00
Dan Abramov
4ac0df00f1
Add an option for custom runtime ( #3612 )
2016-08-31 13:59:43 -04:00
Sebastian McKenzie
8d14f9f4d0
Add helpers: false option to babel-plugin-transform-runtime ( #3603 )
2016-07-27 10:36:58 -04:00
Denis Pushkarev
16ad574e48
Update core-js to 2.4 ( #3480 )
2016-05-16 16:46:22 -04:00
Denis Pushkarev
e6e0171db3
[core-js] temporary disable features, which can break "old runtime and new transform-runtime" case
2016-02-16 00:30:54 +06:00
Denis Pushkarev
79214b3b05
update core-js
2016-02-09 07:31:02 +06:00
Sebastian McKenzie
72c091b63a
Ensure regenerator option for babel-plugin-transform-runtime doesn't cancel out core-js polyfill
2016-01-06 15:26:00 +00:00
guybedford
d5f71d4a32
ensure opts.polyfill = false behaves correctly for runtime-transformer
2016-01-06 00:26:45 +02:00
Sebastian McKenzie
3fa51097a6
Revert "remove array generics from runtime"
2016-01-03 03:42:10 +00:00
Sebastian McKenzie
4e20a99b89
Revert "update core-js"
2016-01-03 03:41:40 +00:00
Denis Pushkarev
15760dfed2
Merge pull request #3208 from zloirock/remove-array-generics-from-runtime
...
remove array generics from runtime
2015-12-25 00:20:32 +06:00
Denis Pushkarev
fd8477d881
remove array generics from runtime
2015-12-25 00:16:50 +06:00
Denis Pushkarev
49880e4e81
update core-js
2015-12-24 21:34:53 +06:00
Denis Pushkarev
4b9dc79aa4
update definition entry points for runtime
2015-11-10 15:52:37 +06:00
Sebastian McKenzie
bd39ea2611
add polyfill and regenerator options to babel-plugin-transform-runtime
2015-11-09 02:50:39 -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
bcfe582fef
remove json files in favor of just plain js files
2015-11-04 00:00:08 +00:00
Sebastian McKenzie
41ccee89c9
fix runtime plugin helper generation - fixes #2726
2015-11-02 06:56:36 +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
9969224a93
add more plugins, rename some
2015-09-15 06:12:46 +01:00