This repository has been archived on 2024-04-21. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
simplecomplete/babel.config.js
Benjamin Wegener 4bbc5cc832 setup(prototype): init project
just initiated the project and added a few possible dependencies i'd have to clean up in a next step
2021-10-09 12:47:38 +02:00

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 }
],
]
}
}