babel/packages/babel-preset-env
Nicolò Ribaudo 2884bac44b Use async-to-generator even when regenerator is enabled (#10839)
While it isn't technically needed because regenerator already handles
async functions, it doesn't play well with the Promise detection logic
used by @babel/preset-env's useBuiltIns and @babel/transform-runtime.

The plugin exclusion logic isn't removed, because
1) it will be useful when merging @babel/preset-modules
    into @babel/preset-env
2) if/when regenerator will support injecting a custom promise,
    we can enable this optimization again
2019-12-09 16:54:25 -05:00
..
2017-11-21 20:03:16 -05:00
2017-11-21 20:03:16 -05:00
2019-03-19 21:07:45 +01:00
2019-12-08 00:25:57 +01:00

@babel/preset-env

A Babel preset for each environment.

See our website @babel/preset-env for more information or the issues associated with this package.

Install

Using npm:

npm install --save-dev @babel/preset-env

or using yarn:

yarn add @babel/preset-env --dev