-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.js
25 lines (25 loc) · 1.18 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
module.exports = function () {
return {
plugins: [
require("@babel/plugin-check-constants"),
require("@babel/plugin-transform-arrow-functions"),
require("@babel/plugin-transform-block-scoped-functions"),
require("@babel/plugin-transform-block-scoping"),
[require("@babel/plugin-transform-classes"), {loose: true}], // avoid ie10 and below issues with `extends` and `super`
require("@babel/plugin-transform-computed-properties"),
require("@babel/plugin-transform-destructuring"),
require("@babel/plugin-transform-for-of"),
require("@babel/plugin-transform-literals"),
require("@babel/plugin-transform-modules-commonjs"),
require("@babel/plugin-transform-object-super"),
require("@babel/plugin-transform-parameters"),
require("@babel/plugin-transform-shorthand-properties"),
require("@babel/plugin-transform-spread"),
require("@babel/plugin-transform-sticky-regex"),
require("@babel/plugin-transform-template-literals"),
require("@babel/plugin-transform-typeof-symbol"),
require("@babel/plugin-transform-unicode-regex"),
require("@babel/plugin-transform-object-assign"),
require("@babel/plugin-transform-strict-mode")
]};
};