setup(prototype): init project
just initiated the project and added a few possible dependencies i'd have to clean up in a next step
This commit is contained in:
23
babel.config.js
Normal file
23
babel.config.js
Normal file
@@ -0,0 +1,23 @@
|
||||
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 }
|
||||
],
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user