Skip to content
This repository has been archived by the owner on May 11, 2018. It is now read-only.

targets 6.1 instead of 6.10 #167

Closed
duvillierA opened this issue Feb 23, 2017 · 2 comments
Closed

targets 6.1 instead of 6.10 #167

duvillierA opened this issue Feb 23, 2017 · 2 comments

Comments

@duvillierA
Copy link

duvillierA commented Feb 23, 2017

Hi,

Thanks to the Debug output.

Using Node@6.10.0, it looks like babel-preset-env@1.1.8 using unecessary plugins:

Using targets:
{
  "node": 6.1
}

Modules transform: commonjs

Using plugins:
  transform-es2015-destructuring {"node":6.5}
  transform-es2015-for-of {"node":6.5}
  transform-es2015-function-name {"node":6.5}
  transform-exponentiation-operator {}
  transform-async-to-generator {}
  syntax-trailing-function-commas {}

.babelrc

"presets": [["env", {
    "targets": {
      "node": "current"
    },
    "debug": true
  }]]

Is there an issue?

@yavorsky
Copy link
Member

yavorsky commented Feb 24, 2017

@duvillierA Hi! Thanks for the issue! The plugins list is correct. All of these things not supported or partially supported in 6.1.

The problem covers in the incorrect logging. It was fixed - #155 but not published yet.
For now, you can use the version from the master but I think we will publish 1.1.9 today.

@hzoo
Copy link
Member

hzoo commented Feb 24, 2017

@duvillierA sorry will publish a new version now.

https://twitter.com/left_pad/status/835171726283665408

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants