This commit is contained in:
2022-09-16 15:37:15 +08:00
commit b281e2b076
80 changed files with 14690 additions and 0 deletions

36
.babelrc Normal file
View File

@@ -0,0 +1,36 @@
{
"presets": [
["env", {
"modules": false,
"targets": {
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
}
}],
"stage-2"
],
"plugins": [
"transform-vue-jsx",
"transform-runtime",
[
"component",
{
"libraryName": "element-ui",
"styleLibraryName": "theme-chalk"
}
],
[
"import",
{
"libraryName": "vant",
"libraryDirectory": "es",
"style": true
}
]
],
"env": {
"test": {
"presets": ["env", "stage-2"],
"plugins": ["transform-vue-jsx", "transform-es2015-modules-commonjs", "dynamic-import-node"]
}
}
}