Skip to content

Commit 27ff747

Browse files
committed
build: upgrade webpack and mina-webpack
1 parent fc31f83 commit 27ff747

12 files changed

+7010
-4261
lines changed

.babelrc

+9-17
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,15 @@
11
{
22
"presets": [
3-
[
4-
"env",
5-
{
6-
"target": {
7-
"node": "7"
8-
},
9-
"loose": true
10-
}
11-
],
12-
"stage-0"
3+
["@babel/preset-env", {
4+
"modules": false,
5+
"loose": true
6+
}]
137
],
148
"plugins": [
15-
[
16-
"transform-runtime",
17-
{
18-
"polyfill": true,
19-
"regenerator": true
20-
}
21-
]
9+
["@babel/plugin-transform-runtime", {
10+
"corejs": 2
11+
}],
12+
"@babel/plugin-proposal-class-properties",
13+
"@babel/plugin-proposal-export-default-from"
2214
]
2315
}

0 commit comments

Comments
 (0)