forked from Samsung/escargot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.babelrc
36 lines (30 loc) · 899 Bytes
/
.babelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
* vim: syntax=javascript
*/
{
/*
"presets":
[
["latest",
{ "es2015": { loose: true, modules: false} },
],
],
*/
"plugins":
[
["transform-es2015-block-scoping"], /* let */
["transform-es2015-constants"], /* const */
["transform-es2015-arrow-functions"], /* arrow */
["transform-es2015-destructuring"],
["transform-es2015-template-literals"], /* `foo${bar}` => "foo" + bar */
// ["transform-es2015-for-of"], /* Cannot support array[Symbol.iterator]() */
["transform-es2015-classes"],
["transform-es2015-shorthand-properties"],
],
"ignore":
[
"/JavaScriptCore/stress/resources/", /* Convert manually */
"/JavaScriptCore/stress/regress-159779", /* Too long */
],
"sourceType": "script",
}