feat: конфигурация Babel с поддержкой React 19 и automatic JSX runtime
- Настроены пресеты: env, typescript, react - Добавлена документация на русском языке (babel.config.README.md) - Automatic JSX runtime - не требуется импорт React
This commit is contained in:
12
babel.config.json
Normal file
12
babel.config.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"presets": [
|
||||
"@babel/preset-env",
|
||||
"@babel/preset-typescript",
|
||||
[
|
||||
"@babel/preset-react",
|
||||
{
|
||||
"runtime": "automatic"
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user