babel / babel-preset-env

PSA: this repo has been moved into babel/babel -->

Home Page:https://github.com/babel/babel/tree/master/packages/babel-preset-env

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Data issues

hzoo opened this issue · comments

commented

Data can be wrong in https://github.com/babel/babel-preset-env/blob/master/src/plugins.js.

We're using https://kangax.github.io/compat-table/es6/ now

screen shot 2016-10-08 at 11 13 43 am

There is also the issue of bugs in babel, bugs in the implementation, incomplete implementations (it supports the basic test of a feature but not everything), etc. This will require a lot of work to figure out but shouldn't be too bad with testing/attention to detail.

Can also use https://github.com/sdkennedy/babel-preset-target

I took a first stab at generating the data from ES compatibility table in #8.

Hey! Compatibility table collaborator here! I just want you to know I will be working on moving raw data to a distinct npm package soon.

commented

We should figure out granularity

  • some browsers implement under a flag: (compat-table has flag, strict, etc) - what are these?
  • maybe the browser implements most of the feature (say 12/13) which covers most use cases etc.
commented

we'll need to make some PRs to compat-table as we go when we find issues/missing stuff

Any stuff a junior dev can work on? Will gladly help out with anything I can.

commented

One thing that we want to do (continually) is check that data/plugins.json is actually correct/accurate to both what's actually true (testing in browsers/node) as well as correct to kangax.github.io/compat-table/es6/ (although annoying)

commented

We're using compat-table already so we can close this. The issue is just that the data might be not up or date or the logic incorrect but that's an ongoing effort