Comments (6)
We have to come up with a list of Babel transformations according to the Node.js server-side JavaScript grammar.
It includes full ES6 support for versions >= 6.5 and >=7.6.
Also, partial support for ES2016.
Another useful list (w/o harmony flag)
http://node.green/
from catberry.
We also can use https://github.com/babel/babel-preset-env and dynamically decide what to support.
from catberry.
We're in a weird situation: we can't allow to use any preset because it would break the minification which is currently done by Uglify (because it does not support ES6). But we still can't use Babili because it's in beta.
So, we have to either use Babili and ignore its beta state or keep the current preset by default which can't be overwritten by .babelrc
currently.
from catberry.
IE11 usage is still 3.1% — https://www.w3schools.com/Browsers/browsers_explorer.asp
IE11 es6 support is only 11% — https://kangax.github.io/compat-table/es6
It seems that babel-preset-env doesn't give any significant advantages today. But it's a little bit risky to use babili beta version.
I think, we have to wait one of this:
- stable babili release
- uglify harmony release
- ie11 usage will drop at least to 1%
As it doesn't look like a breaking changes, we can use babel-preset-env later.
from catberry.
@kalyanov at least we can use the standard Babel preset by default and ignore IE <= 10. It won't break anything except the support of these browsers.
We can switch to Babili later without breaking changes, I presume.
from catberry.
Oh, yes. IE 10 is dead :)
from catberry.
Related Issues (20)
- Tests for watchers in "debug mode" are not passing on Mac HOT 1
- Problems with patching attributes HOT 1
- Pluralsight course for CatberryJS? HOT 4
- Possible to use with [email protected]? HOT 2
- Is it possible to use JSX for templating? HOT 2
- Jade package renamed to Pug and now deprecated HOT 3
- Empty location.hash adds when clicked on link with current location address. Firefox only. HOT 1
- Remove `sendBroadcastAction` method from the context
- Use babili once it's ready HOT 1
- Don't overwrite a bundle file if the hash is the same HOT 1
- Drop Node.js < 6.10
- Catberry 9.0 readiness checklist HOT 1
- Remove `develop` branches and forbid `merge commits`
- Render Document method does not have a check for `null`
- Catberry 9 testing checklist HOT 4
- Page scrolls to top after using browser bac/forward buttons HOT 10
- Sharing state obtained from external source between client and server HOT 2
- npm run debug-win Error HOT 1
- How can I make it better? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from catberry.