-
@rafaelfranca @schneems
The integration with gem `babel-transpiler` is great, but that gem is outdated (and I think that is also unmaintained anymore). The last Babel version used in this gem is 5…
-
Looks like modern browsers now have nearly perfect ES2015/ES6 support, so we could remove the ES2015 preset from Babel for modern browsers?
See: http://kangax.github.io/compat-table/es6/
samhh updated
7 years ago
-
## 教程
### ECMAScript 6入门 阮一峰
- http://es6.ruanyifeng.com/
### Babel:learn-es2015
- https://babeljs.io/docs/learn-es2015
### ES6 In Depth
**原文**:https://hacks.mozilla.org/category/es6-in-depth/
**in…
luqin updated
8 years ago
-
Based on the mocha options I can't immediately see that this is exposed, but I use the --compilers option at the CLI to use Babel so my test code can use ES6 modules (+ other ES6 stuff).
Is there any…
-
# ES6 Modules
https://developer.mozilla.org/zh-CN/
```md
.babelrc
{
"presets": ["es2015"],
"plugins":["transform-object-rest-spread"]
}
"presets": ["es2015"]
query: …
-
Spend a lot of times to debug, but could not complete due to issues:
TypeError: Invalid attempt to destructure non-iterable instance
at c:\Users\fnguye1\Desktop\Node\My-Projects\assignment3\routes…
-
At the moment we use module.exports in this repo occasionally, for example here https://github.com/intuit/user-data-for-fraud-prevention/blob/master/src/js/index.js#L6 . It would be better to have ES6…
-
I was looking for a unix socket only IPC messaging module written in es6 and yours looks like it.
I've only adopted es6 as it has come available in nodejs and now the last bit, the es6 modules, are…
-
What do you think about include babel to enable all features of ES6/ES7?
-
## webpack4.x开发项目小结
webpack4.x是以项目根目录下的'./src'作为入口,但我们的项目中缺乏该路径,因此我们在根目录下创建src文件夹,事实上webpack4.x以'./src/index.js'作为入口,同时package.json中的字段"main"为 "index.js"
## .babelrc编译
把es6编译为最新的es5兼容模式,同…