This repository has been archived by the owner on Apr 23, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
51 lines (45 loc) · 2.19 KB
/
index.js
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
module.exports = {
plugins: [
require("babel-plugin-transform-decorators-legacy").default,
require("babel-plugin-transform-decorators"),
// babel-preset-stage-1
require("babel-plugin-transform-class-constructor-call"),
require("babel-plugin-transform-class-properties"),
require("babel-plugin-transform-export-extensions"),
// NOTE: Removed babel-plugin-transform-decorators
// babel-preset-stage-2
require("babel-plugin-syntax-trailing-function-commas"),
require("babel-plugin-transform-object-rest-spread"),
// babel-preset-stage-3
require("babel-plugin-transform-exponentiation-operator"),
// NOTE: Removed babel-plugin-transform-async-to-generator
// babel-preset-es2015
require("babel-plugin-transform-es2015-template-literals"),
require("babel-plugin-transform-es2015-literals"),
require("babel-plugin-transform-es2015-function-name"),
require("babel-plugin-transform-es2015-arrow-functions"),
require("babel-plugin-transform-es2015-block-scoped-functions"),
require("babel-plugin-transform-es2015-classes"),
require("babel-plugin-transform-es2015-object-super"),
require("babel-plugin-transform-es2015-shorthand-properties"),
require("babel-plugin-transform-es2015-computed-properties"),
require("babel-plugin-transform-es2015-for-of"),
require("babel-plugin-transform-es2015-sticky-regex"),
require("babel-plugin-transform-es2015-unicode-regex"),
require("babel-plugin-check-es2015-constants"),
require("babel-plugin-transform-es2015-spread"),
require("babel-plugin-transform-es2015-parameters"),
require("babel-plugin-transform-es2015-destructuring"),
require("babel-plugin-transform-es2015-block-scoping"),
require("babel-plugin-transform-es2015-typeof-symbol"),
// NOTE: Removed babel-plugin-transform-regenerator, babel-plugin-transform-es2015-modules-commonjs
// babel-preset-react
require("babel-plugin-transform-react-jsx"),
require("babel-plugin-syntax-jsx"),
require("babel-plugin-transform-react-display-name"),
require("babel-plugin-syntax-jsx"),
// NOTE: Removed babel-plugin-syntax-flow
// Custom stuff
require("babel-plugin-transform-runtime")
]
};