-
## 了解`Babel 6`生态
现在写一个babel的简介好像已经不太必要了(太晚了😄 )。但大多数情况下,会配置`babel`来编译代码,不代表我们清楚`babel`的概念,而且`Babel 6`相关的多个`babel-xx`包还是容易让人混淆的。所以这里还是希望帮助理清整个`Babel 6`生态。
参考:
- [Clearing up the Babel 6 Ecosyst…
-
```ts
import { Rule, Scope } from 'eslint'; // `Rule` and `Scope` are both ts namespace
import Variable = Scope.Variable;
import CodePathSegment = Rule.CodePathSegment;
import Variable = Scope.Var…
-
## Bug Report
- [x] I would like to work on a fix!
**Current behavior**
Using HTML entity codes is not consistent with the specification. To display certain characters, one has to use the HTM…
-
## Bug Report
**Current Behavior**
When configuring `@babel/plugin-transform-runtime` to use `corejs2` or `corejs3`, bundle sizes increase x7 (corejs2) and x11 (corejs3)
**Input Code**
```js…
-
https://twitter.com/jordwalke/status/801655139849248768 via @jordwalke - I like it!
Using Babel/ES2015+ is definetely a tradeoff
## Positives
+ Don't have to worry about browser support (simi…
-
Champion: @littledan
Spec Repo: https://github.com/tc39/proposal-pipeline-operator
First presented at Sept 2017 meeting: https://github.com/tc39/agendas/blob/master/2017/09.md
Slides: https://docs…
-
Reproduce:
select a part of the text that you want to apply style to.
Then click the button (bold,...) then click the button again, again and again.
Result will be several times insert of par…
-
## Feature Request
Tools like Webpack and Gulp allow the config file to be named .ts and be written in TypeScript if `ts-node` is installed. This makes it possible to write type-safe configuration …
-
```bash
patrick@patrick-P506:~/test$ mkdir temp
patrick@patrick-P506:~/test$ vue init pablohpsilva/vue-material-boilerplate
? Generate project in current directory? Yes
? Project name test
? Pr…
-
# 使用webpack
## 项目 eject
使用 CRA 创建完项目以后,项目在package.json里面提供了这样一个命令:
```js
"eject": "react-scripts eject"
```
执行完这个命令——yarn run eject后会将封装在 CRA 中的配置全部反编译到当前项目,这样用户就可以完全取得 webpack 文件的控制权,想怎么修改就怎么修改…
cisen updated
4 years ago