Remove excessive .babelrc (#6493)

* Remove excessive babelrc

* wip

* Restore styled-components plugin

* fix
This commit is contained in:
Tom Moor
2024-02-06 04:24:04 -08:00
committed by GitHub
parent fbc628e331
commit 8a2c710792
10 changed files with 30 additions and 87 deletions

View File

@@ -1,48 +0,0 @@
{
"presets": [
"@babel/preset-react",
[
"@babel/preset-env",
{
"targets": {
"node": "18"
}
}
],
"@babel/preset-typescript"
],
"plugins": [
"babel-plugin-transform-typescript-metadata",
[
"@babel/plugin-proposal-decorators",
{
"legacy": true
}
],
"@babel/plugin-proposal-class-properties",
[
"transform-inline-environment-variables",
{
"include": [
"SOURCE_COMMIT",
"SOURCE_VERSION"
]
}
],
"tsconfig-paths-module-resolver"
],
"env": {
"production": {
"ignore": [
"**/__mocks__",
"**/*.test.ts"
]
},
"development": {
"ignore": [
"**/__mocks__",
"**/*.test.ts"
]
}
}
}