17 lines
263 B
JavaScript
17 lines
263 B
JavaScript
module.exports = (api) => {
|
|
api.cache(true)
|
|
return {
|
|
presets: [
|
|
[
|
|
'@babel/preset-env',
|
|
{
|
|
loose: true,
|
|
targets: {
|
|
browsers: ['last 2 versions', 'IE >= 9'],
|
|
},
|
|
},
|
|
],
|
|
],
|
|
}
|
|
}
|