You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
523 B
28 lines
523 B
{
|
|
"presets": [
|
|
["env", {
|
|
"modules": false,
|
|
"targets": {
|
|
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
|
|
}
|
|
}],
|
|
"stage-2",
|
|
["es2015", { "modules": false }]
|
|
],
|
|
"plugins": ["transform-runtime",["component", [
|
|
{
|
|
"libraryName": "mint-ui",
|
|
"style": true
|
|
},
|
|
{
|
|
"libraryName": "element-ui",
|
|
"styleLibraryName": "theme-chalk"
|
|
}
|
|
]]],
|
|
"env": {
|
|
"test": {
|
|
"presets": ["env", "stage-2"],
|
|
"plugins": ["istanbul"]
|
|
}
|
|
}
|
|
}
|
|
|