Skip to content

Commit 95f3880

Browse files
authored
Update to support Babel 7
1 parent f45b5b9 commit 95f3880

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

index.js

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
module.exports = {
2-
plugins: [
3-
"syntax-async-functions",
4-
"syntax-class-properties",
5-
"syntax-flow",
6-
"syntax-jsx",
7-
"syntax-object-rest-spread",
8-
"syntax-trailing-function-commas",
9-
]
10-
}
1+
module.exports = function() {
2+
return {
3+
plugins: [
4+
"syntax-async-functions",
5+
"syntax-class-properties",
6+
"syntax-flow",
7+
"syntax-jsx",
8+
"syntax-object-rest-spread",
9+
"syntax-trailing-function-commas",
10+
]
11+
};
12+
};

0 commit comments

Comments
 (0)