mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-11-29 18:57:36 +08:00
44 lines
790 B
Plaintext
44 lines
790 B
Plaintext
{
|
|
"presets": [
|
|
[
|
|
"env",
|
|
{
|
|
"loose": true,
|
|
"modules": false,
|
|
"targets": {
|
|
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
|
|
}
|
|
}
|
|
],
|
|
"stage-2"
|
|
],
|
|
"plugins": ["transform-vue-jsx"],
|
|
"env": {
|
|
"utils": {
|
|
"presets": [
|
|
[
|
|
"env",
|
|
{
|
|
"loose": true,
|
|
"modules": "commonjs",
|
|
"targets": {
|
|
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
|
|
}
|
|
}
|
|
],
|
|
],
|
|
"plugins": [
|
|
["module-resolver", {
|
|
"root": ["element-ui"],
|
|
"alias": {
|
|
"element-ui/src": "element-ui/lib"
|
|
}
|
|
}]
|
|
]
|
|
},
|
|
"test": {
|
|
"plugins": ["istanbul"]
|
|
}
|
|
}
|
|
}
|