19 lines
254 B
JavaScript
19 lines
254 B
JavaScript
module.exports = function(api) {
|
|
api.cache(true);
|
|
|
|
const presets = [
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
targets: "last 2 versions, >1%, not dead",
|
|
},
|
|
],
|
|
];
|
|
const plugins = [];
|
|
|
|
return {
|
|
presets,
|
|
plugins,
|
|
};
|
|
};
|