forked from AkkomaGang/admin-fe
Add tests
This commit is contained in:
parent
220ad0553a
commit
2ae27483b4
13 changed files with 2798 additions and 980 deletions
24
.babelrc
24
.babelrc
|
|
@ -1,17 +1,25 @@
|
|||
{
|
||||
"presets": [
|
||||
["env", {
|
||||
"modules": false,
|
||||
"targets": {
|
||||
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
|
||||
[
|
||||
"@babel/preset-env", {
|
||||
"modules": "auto",
|
||||
"targets": {
|
||||
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
|
||||
}
|
||||
}
|
||||
}],
|
||||
"stage-2"
|
||||
],
|
||||
"@vue/babel-preset-jsx"
|
||||
],
|
||||
"plugins": [
|
||||
"@babel/plugin-transform-runtime",
|
||||
"@babel/plugin-syntax-dynamic-import"
|
||||
],
|
||||
"plugins": ["transform-vue-jsx", "transform-runtime"],
|
||||
"env": {
|
||||
"development":{
|
||||
"plugins": ["dynamic-import-node"]
|
||||
"plugins": ["dynamic-import-node-babel-7"]
|
||||
},
|
||||
"test":{
|
||||
"plugins": ["dynamic-import-node-babel-7"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue