just initiated the project and added a few possible dependencies i'd have to clean up in a next step
23 lines
352 B
JavaScript
23 lines
352 B
JavaScript
module.exports = function (api) {
|
|
api.cache(true)
|
|
return {
|
|
presets: [
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
corejs: {
|
|
version: "3.8",
|
|
proposals: false
|
|
},
|
|
useBuiltIns: "usage" // browserslist in package.json
|
|
}
|
|
],
|
|
],
|
|
plugins: [
|
|
[
|
|
"@babel/plugin-transform-for-of",
|
|
{ allowArrayLike: true }
|
|
],
|
|
]
|
|
}
|
|
} |