Skip to content
This repository was archived by the owner on Jul 8, 2024. It is now read-only.

Commit 96d5898

Browse files
Romain-webNickersoft
authored andcommitted
🏗 fixing build errors using babel-upgrade (#197)
1 parent 4c146ab commit 96d5898

File tree

9 files changed

+9965
-907
lines changed

9 files changed

+9965
-907
lines changed

.babelrc

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,28 @@
11
{
22
"presets": [
3-
[
4-
"@babel/preset-env",
5-
{
6-
"modules": false
7-
}
8-
],
9-
"@babel/preset-stage-2"
3+
[
4+
"@babel/preset-env",
5+
{
6+
"modules": false
7+
}
8+
],
9+
"@babel/preset-flow"
1010
],
11-
"plugins": ["@babel/plugin-transform-flow-strip-types"]
11+
"plugins": [
12+
"@babel/plugin-transform-flow-strip-types",
13+
"@babel/plugin-syntax-dynamic-import",
14+
"@babel/plugin-syntax-import-meta",
15+
"@babel/plugin-proposal-class-properties",
16+
"@babel/plugin-proposal-json-strings",
17+
[
18+
"@babel/plugin-proposal-decorators",
19+
{
20+
"legacy": true
21+
}
22+
],
23+
"@babel/plugin-proposal-function-sent",
24+
"@babel/plugin-proposal-export-namespace-from",
25+
"@babel/plugin-proposal-numeric-separator",
26+
"@babel/plugin-proposal-throw-expressions"
27+
]
1228
}

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v8.12

0 commit comments

Comments
 (0)