-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
37 lines (36 loc) · 1.5 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
var plugins = [
"babel-plugin-check-es2015-constants",
"babel-plugin-syntax-jsx",
"babel-plugin-syntax-async-functions",
"babel-plugin-syntax-trailing-function-commas",
"babel-plugin-transform-class-properties",
"babel-plugin-transform-es2015-arrow-functions",
"babel-plugin-transform-es2015-block-scoped-functions",
"babel-plugin-transform-es2015-block-scoping",
"babel-plugin-transform-es2015-classes",
"babel-plugin-transform-es2015-computed-properties",
"babel-plugin-transform-es2015-destructuring",
"babel-plugin-transform-es2015-for-of",
"babel-plugin-transform-es2015-function-name",
"babel-plugin-transform-es2015-literals",
"babel-plugin-transform-es2015-modules-commonjs",
"babel-plugin-transform-es2015-object-super",
"babel-plugin-transform-es2015-parameters",
"babel-plugin-transform-es2015-shorthand-properties",
"babel-plugin-transform-es2015-spread",
"babel-plugin-transform-es2015-sticky-regex",
"babel-plugin-transform-es2015-template-literals",
"babel-plugin-transform-es2015-typeof-symbol",
"babel-plugin-transform-es2015-unicode-regex",
"babel-plugin-transform-export-extensions",
"babel-plugin-transform-object-rest-spread",
"babel-plugin-transform-react-display-name",
"babel-plugin-transform-react-jsx",
"babel-plugin-transform-react-jsx-source",
"babel-plugin-transform-regenerator",
"babel-plugin-transform-runtime",
"babel-plugin-transform-strict-mode"
]
module.exports = {
plugins: plugins.map(function(p){ return require.resolve(p) })
}