Fix skinning and babel tagets
This commit is contained in:
parent
dea919f6ee
commit
21405b8f25
3 changed files with 16 additions and 10 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue