Skip to content

Commit f272937

Browse files
committed
TS config best practices and ensure that '=>' transpiles
1 parent 46071b7 commit f272937

File tree

5 files changed

+12168
-9998
lines changed

5 files changed

+12168
-9998
lines changed

babel.config.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
{
2-
"presets": ["@babel/preset-typescript"]
3-
}
2+
"presets": [
3+
[
4+
"@babel/preset-env",
5+
{
6+
"targets": {
7+
"esmodules": false
8+
}
9+
}
10+
],
11+
"@babel/preset-typescript"
12+
]
13+
}

0 commit comments

Comments
 (0)