Skip to content

Commit a66f69d

Browse files
committed
Update Babel config
1 parent f737441 commit a66f69d

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

.babelrc

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
{
2-
"presets": [
3-
"@babel/env",
4-
["@babel/stage-2", {
5-
"decoratorsLegacy": true
6-
}]
2+
"presets": ["@babel/env"],
3+
"plugins": [
4+
["@babel/plugin-proposal-decorators", { "legacy": true }],
5+
"@babel/plugin-proposal-function-sent",
6+
"@babel/plugin-proposal-export-namespace-from",
7+
"@babel/plugin-proposal-numeric-separator",
8+
"@babel/plugin-proposal-throw-expressions",
9+
"@babel/plugin-syntax-dynamic-import",
10+
"@babel/plugin-syntax-import-meta",
11+
["@babel/plugin-proposal-class-properties", { "loose": false }],
12+
"@babel/plugin-proposal-json-strings",
13+
"@babel/plugin-transform-modules-umd"
714
]
8-
}
15+
}

0 commit comments

Comments
 (0)