Skip to content

Commit 7b12aa5

Browse files
authored
Merge pull request #275 from OfficeDev/TS-config-best-practices
TS config best practices and ensure that '=>' transpiles
2 parents 46071b7 + f272937 commit 7b12aa5

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)