add webpack

This commit is contained in:
Vick Scarlet
2021-09-03 20:49:04 +08:00
parent 6cb60663b6
commit 0350ec09c4
8 changed files with 2157 additions and 27 deletions

18
.babelrc Normal file
View File

@@ -0,0 +1,18 @@
{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"ie": 7,
"edge": "17",
"firefox": "60",
"chrome": "67",
"safari": "11.1"
},
"useBuiltIns": "usage",
"corejs": "3.8.3"
}
]
]
}