2018-11-21 17:47:56 +00:00
|
|
|
module.exports = function(api) {
|
|
|
|
api.cache.forever();
|
|
|
|
|
2018-12-18 13:50:10 +00:00
|
|
|
return {
|
2018-11-21 17:47:56 +00:00
|
|
|
"presets": [
|
|
|
|
["@babel/preset-env", {
|
|
|
|
"targets": {
|
|
|
|
"chrome": 40,
|
|
|
|
"firefox": 35,
|
|
|
|
"edge": 14,
|
|
|
|
"node": "6.5"
|
|
|
|
},
|
|
|
|
"modules": false,
|
|
|
|
"useBuiltIns": "entry"
|
|
|
|
}]
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
["babel-plugin-transform-builtin-extend", {
|
|
|
|
"globals": ["Error"]
|
|
|
|
}]
|
|
|
|
]
|
|
|
|
};
|
|
|
|
};
|