-
Hi there.
I can't seem to get this to work work in my simple webpack/babel setup, no matter what I do.
I've tried importing the following ways:
```
import 'd3-transform';
import d3Transform f…
-
ghost updated
8 years ago
-
Writing this lib in CoffeeScript has provided a big productivity and robustness boost, but we could probably get those same benefits with ES6 now — along with broader approachability and appeal.
http…
-
This babel-generated line is throwing up an uncovered branch for me when using `import blah from "blah"`.
``` js
function _interopRequireWildcard(obj) { Eif (obj && obj.__esModule) { return obj; } e…
-
I understand it's hard to keep up with all of these changing technologies, but I and other learners would greatly appreciate updating your talk with these new features / frameworks, even if it just st…
-
Lets start using ES6 modules by using rollup, to improve our JS.
-
js output is not fully transplited:
![2017-02-05 19 58 48](https://cloud.githubusercontent.com/assets/1060205/22628496/98a76922-ebdd-11e6-97c7-1ef6fd34a1d5.png)
even when .babelrc with es-preset…
-
在学习 #36 过程中,学习Babel如何将ES6代码转义成ES5代码
-
# Babel + ES6课程答疑
## 写在前面
这里统一回复,具体同学们反馈的有以下三个大方向的问题:
- 视频质量问题
- 课程快慢问题
- 内容粗细问题
## 课程内容答疑
### 1. decorator应用场景
修饰器(Decorator)是一个函数,用来修改类的行为(方法或属性),从而实现代码重用,了解Java的springmvc的同学可以类比注解这个概念。
### 2. 对操作…
-
see https://github.com/babel/babel/blob/7.0/packages/babel-cli/src/babel/file.js#L99
and https://github.com/babel/babel/blob/7.0/packages/babel-cli/src/babel/util.js#L42
just calling `babel.tr…