Я использую визуальные код IDE и машинописный код, как заставить его игнорировать папку node_modules во время сборки? Или у него есть .ts
файлов с сохранением? Он показывает много ошибок, потому что он пытается скомпилировать node_modules tsd.Как игнорировать папку `node_modules` при построении TypeScript в VSCode
В настоящее время мой tasks.json является
{
"version": "0.1.0",
// The command is tsc.
"command": "tsc",
// Show the output window only if unrecognized errors occur.
"showOutput": "silent",
// Under windows use tsc.exe. This ensures we don't need a shell.
"windows": {
"command": "tsc.exe"
},
"isShellCommand": true,
// args is the HelloWorld program to compile.
"args": [],
// use the standard tsc problem matcher to find compile problems
// in the output.
"problemMatcher": "$tsc"
}
Не работает .... –