Fix skinning and babel tagets

This commit is contained in:
Travis Ralston 2020-01-28 12:44:14 +00:00
parent dea919f6ee
commit 21405b8f25
3 changed files with 16 additions and 10 deletions

View file

@ -4,7 +4,7 @@ module.exports = {
["@babel/preset-env", {
"targets": {
"browsers": [
"last 2 versions"
"last 2 Chrome versions", "last 2 Firefox versions", "last 2 Safari versions"
]
},
"modules": "commonjs"
@ -14,7 +14,7 @@ module.exports = {
"@babel/preset-react"
],
"plugins": [
["@babel/plugin-proposal-decorators", { "legacy": true }],
["@babel/plugin-proposal-decorators", {"legacy": false, decoratorsBeforeExport: true}],
"@babel/plugin-proposal-export-default-from",
"@babel/plugin-proposal-numeric-separator",
"@babel/plugin-proposal-class-properties",