Created
July 2, 2022 13:18
-
-
Save utimur/0e47c843fb1d1fb23870d8e8ac5b4bb1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"compilerOptions": { | |
// куда собираем | |
"outDir": "./build/", | |
// запрет на any | |
"noImplicitAny": true, | |
"module": "ESNext", | |
// в какой формат копилируем, в данном случае ecmascript 6 | |
"target": "es6", | |
"jsx": "react-jsx", | |
// Компилятор будет обрабатывать не только TS файлы, но и JS файлы | |
"allowJs": true, | |
// Строгий режим | |
"strict": true, | |
"esModuleInterop": true, | |
"moduleResolution": "node", | |
"allowSyntheticDefaultImports": true, | |
// Обязательное поле при использовании с esbuild | |
"isolatedModules": true | |
}, | |
"ts-node": { | |
"compilerOptions": { | |
"module": "commonjs" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment