wbyoung / babel-plugin-transform-postcss

Babel PostCSS Transform
MIT License
55 stars 23 forks source link

Add babel-plugin-transform-async-to-generator for Node 6 compatibility #25

Closed kohlmannj closed 7 years ago

kohlmannj commented 7 years ago

Hi,

I saw the deasync branch / PR (#2), however, I'm not sure I can lend any expertise to that discussion. However, I do need to use this plugin in a Node v6 environment, which does not natively support async / await.

Hence, as an apparent stopgap, I have added babel-plugin-transform-async-to-generator to .babelrc, which appears to generate a build which works on Node v6.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 947ee0af9921a16b0f0d5c322351e8cfacfe5e92 on kohlmannj:master into 55679c22334d8f8bc38d0bbf050f943c1dd63e6d on wbyoung:master.

wbyoung commented 7 years ago

We should just change this line instead to be 6.10.11 and continue to rely on preset-env.

Please try that and open a new PR that also updates the build targets. Thanks for contributing!