Configure babel output

This commit is contained in:
Paulo Gustavo Veiga
2021-10-03 08:41:57 -07:00
parent 45e79205f1
commit f1c91e1cda
6 changed files with 29 additions and 10 deletions

View File

@ -3,8 +3,14 @@
[
"@babel/preset-env",
{
"corejs": "3.9",
"useBuiltIns": "usage"
"corejs": "3.15",
"useBuiltIns": "usage",
"targets": {
"browsers": [
"last 5 versions",
"ie >= 8"
]
}
}
]
]

View File

@ -21,8 +21,8 @@
},
"scripts": {
"build": "webpack --config webpack.prod.js",
"playground": "webpack serve --config webpack.playground.js",
"start": "webpack serve --config webpack.dev.js"
"dev": "webpack serve --config webpack.dev.js",
"playground": "webpack serve --config webpack.playground.js"
},
"dependencies": {
"@wismapping/core-js": "^0.0.1",