Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit b0b116a

Browse files
fix(.babelrc): enable modules
1 parent e35feb8 commit b0b116a

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

.babelrc

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
[
44
"env",
55
{
6-
"modules": false,
76
"useBuiltIns": true,
87
"targets": {
98
"node": 4.3
@@ -15,6 +14,14 @@
1514
}
1615
]
1716
],
17+
"plugins": [
18+
[
19+
"transform-object-rest-spread",
20+
{
21+
"useBuiltIns": true
22+
}
23+
]
24+
],
1825
"env": {
1926
"test": {
2027
"presets": [
@@ -24,13 +31,5 @@
2431
"transform-object-rest-spread"
2532
]
2633
}
27-
},
28-
"plugins": [
29-
[
30-
"transform-object-rest-spread",
31-
{
32-
"useBuiltIns": true
33-
}
34-
]
35-
]
36-
}
34+
}
35+
}

0 commit comments

Comments
 (0)