babel/babel-preset-env
View on GitHub ↗ ★ 3,475 JavaScript archived
PSA: this repo has been moved into babel/babel -->
16 mentions on Hacker News by 3 people: 1 story, 15 comments · first 2016-10-18 · latest 2017-07-11
20082026
-
The purpose of https://github.com/babel/babel-preset-env is that it handles all this automatically (not run when it's supported natively)
comment by hzoo · 2017-07-11 · in ECMAScript 2017 Language Specification -
…make a similar table to compat-table (maybe using six-speed or this) that we could use as data to https://github.com/babel/babel-preset-env so that Babel could compile based on the compiled speed relative to native support. Haven't really…
comment by hzoo · 2017-06-05 · in JSC loves ES6 -
…ttps://github.com/hzoo/role-of-babel-in-js , https://twitter.com/left_pad/status/867593358977499137 . https://github.com/babel/babel-preset-env with our `"node": "current"` option can help with this.
comment by hzoo · 2017-05-30 · in V8, Advanced JavaScript, and the Next Performance Frontier [video] -
…already a proposal (meaning it has potential to be in JS), and we also encourage using presets like https://github.com/babel/babel-preset-env instead of providing your own configuration of plugins unless you are more of a power user. It's…
comment by hzoo · 2017-02-23 · in Announcing TypeScript 2.2 -
…(don't need sourcemaps). https://v8project.blogspot.com/2017/02/high-performance-es20... I made https://github.com/babel/babel-preset-env to make it easier to transition. Hoping that Babel makes it easier to not have to think about whether…
comment by hzoo · 2017-02-22 · in ECMAScript 2016+ in Firefox -
Yep and with Babel we recommend using https://github.com/babel/babel-preset-env to compile only what's missing in the targets you support. Hopefully we have a better solution about making multiple bundles (separate one for IE) soon
comment by hzoo · 2017-02-22 · in ECMAScript 2016+ in Firefox -
https://github.com/babel/babel-preset-env/ should help with this to remove the polyfills that are already supported, and with some future work to remove polyfills are unused.
comment by hzoo · 2016-12-23 · in Ask HN: If you targetting ES6 by default, how did you rationalize that choice? -
Might be a good chance to suggest using our new preset: https://github.com/babel/babel-preset-env/ . TL;DR - automate your Babel config options based on targets. babel-preset-env: A Babel preset that can automatically determine the Babel…
comment by hzoo · 2016-12-22 · in Ask HN: If you targetting ES6 by default, how did you rationalize that choice? -
▲ 3
Show HN: Babel-preset-env, auto determines required Babel plugins based on envstory by hzoo · 2016-12-10 · 0 comments
-
…2: https://facebook.github.io/regenerator/ 3: https://github.com/zloirock/core-js 4: https://github.com/babel/babel-preset-env
comment by mhink · 2016-12-07 · in Announcing TypeScript 2.1 -
You might be interested in https://github.com/babel/babel-preset-env :D. (I'm working on it so let me know if you have questions)
comment by hzoo · 2016-12-07 · in Announcing TypeScript 2.1 -
I believe that's a goal of https://github.com/babel/babel-preset-env . There are also a few manually crafted presets on npm which target a particular environment and EcmaScript version, e.g. https://github.com/blockai/babel-preset-eslatest-…
comment by olalonde · 2016-11-02 · in Async/await support in Firefox -
…using Babel already or want to use ES6+ on a set of supported browsers: we have started work on https://github.com/babel/babel-preset-env . Would appreciate more testing! It allows passing in a set of supported browsers and transpiling…
comment by hzoo · 2016-10-24 · in Overview of JavaScript ES6 features -
Working on https://github.com/babel/babel-preset-env right now which should help with this
comment by hzoo · 2016-10-24 · in Overview of JavaScript ES6 features -
You can use node specific preset like other's have mentioned but working on https://github.com/babel/babel-preset-env for all future versions as well
comment by hzoo · 2016-10-19 · in Node v6.9.0 (LTS) -
I've been working on https://github.com/babel/babel-preset-env/ and there's a similar request although using babel-polyfill rather than the service https://github.com/babel/babel-preset-env/issues/20
comment by hzoo · 2016-10-18 · in Node v6.9.0 (LTS)