Skip to content

Commit 10b31f0

Browse files
pirropirroStefania
authored and
Stefania
committed
Update rollup from 0.68.2 to 1.27.0 (#249)
* Bump babel & rollup versions * update babel configurations * Update rollup configurations
1 parent cf415fb commit 10b31f0

File tree

6 files changed

+3913
-1531
lines changed

6 files changed

+3913
-1531
lines changed

.babelrc

+17-9
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,27 @@
22
"env": {
33
"commonjs": {
44
"presets": [
5-
["env", {
6-
"useBuiltIns": false
7-
}]
5+
[
6+
"@babel/env",
7+
{
8+
"useBuiltIns": false
9+
}
10+
]
811
]
912
},
1013
"es": {
1114
"presets": [
12-
["env", {
13-
"useBuiltIns": false,
14-
"modules": false
15-
}]
15+
[
16+
"@babel/env",
17+
{
18+
"useBuiltIns": false,
19+
"modules": false
20+
}
21+
]
1622
]
1723
}
1824
},
19-
"plugins": ["transform-object-rest-spread"]
20-
}
25+
"plugins": [
26+
"@babel/proposal-object-rest-spread"
27+
]
28+
}

demo/.babelrc

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
{
2-
"presets": ["env", "react"]
3-
}
2+
"presets": [
3+
"@babel/env",
4+
"@babel/react"
5+
]
6+
}

0 commit comments

Comments
 (0)