This PR moves the entire project to Typescript. Due to the ~1000 ignores this will lead to a messy codebase for a while, but the churn is worth it – all of those ignore comments are places that were never type-safe previously. closes #1282
32 lines
560 B
Plaintext
32 lines
560 B
Plaintext
{
|
|
"presets": [
|
|
"@babel/preset-react",
|
|
"@babel/preset-typescript",
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
"corejs": {
|
|
"version": "3",
|
|
"proposals": true
|
|
},
|
|
"targets": {
|
|
"node": "12"
|
|
},
|
|
"useBuiltIns": "usage"
|
|
}
|
|
]
|
|
],
|
|
"plugins": [
|
|
"transform-class-properties",
|
|
"tsconfig-paths-module-resolver",
|
|
[
|
|
"transform-inline-environment-variables",
|
|
{
|
|
"include": [
|
|
"SOURCE_COMMIT",
|
|
"SOURCE_VERSION"
|
|
]
|
|
}
|
|
]
|
|
]
|
|
} |