babel/babel-preset-env

async function always be transformed ,

lili21 opened this issue · 3 comments

@lili21 looks like a bug in the REPL, if you click the debug checkbox, notice there's no targets listed:

image

I verified this locally:

babel-preset-env: `DEBUG` option

Using targets:
{
  "chrome": "56"
}

Modules transform: commonjs

Using plugins:
  syntax-trailing-function-commas {"chrome":"56"}

The root of the problem is that we are using old preset-env (with old browserslist) version for REPL.

So, chrome > 55 returns none, because 55 chrome is the last known version.

Currently I'm trying to make script to convert this repo directly to standalone versions and get rid of https://github.com/yavorsky/babel-preset-env-standalone. For now, we need to update last one every time we update the original repo.