qb-admin-fe/.babelrc

26 lines
485 B
Text
Raw Normal View History

2017-04-18 07:09:13 +00:00
{
2017-06-19 09:59:56 +00:00
"presets": [
2019-03-22 20:58:58 +00:00
[
"@babel/preset-env", {
"modules": "auto",
"targets": {
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
}
}
2019-03-22 20:58:58 +00:00
],
"@vue/babel-preset-jsx"
],
"plugins": [
"@babel/plugin-transform-runtime",
"@babel/plugin-syntax-dynamic-import"
2017-06-19 09:59:56 +00:00
],
"env": {
"development":{
2019-03-22 20:58:58 +00:00
"plugins": ["dynamic-import-node-babel-7"]
},
"test":{
"plugins": ["dynamic-import-node-babel-7"]
}
}
2017-04-18 07:09:13 +00:00
}