Skip to content

Commit cb1b203

Browse files
committed
Update Babel
1 parent b1da0fa commit cb1b203

File tree

4 files changed

+22
-9725
lines changed

4 files changed

+22
-9725
lines changed

.babelrc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
{
2-
"presets": ["es2015-loose", "stage-0"],
3-
"plugins": ["add-module-exports", "precompile-charcodes"],
2+
"presets": [
3+
["@babel/preset-env", { "loose": true }]
4+
],
5+
"plugins": [
6+
"@babel/proposal-class-properties",
7+
"add-module-exports",
8+
"precompile-charcodes"
9+
],
410
"env": {
511
"development": {
612
"sourceMaps": "inline"

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,4 @@
9090
".json$"
9191
]
9292
}
93-
}
93+
}

0 commit comments

Comments
 (0)