outdir

Setting the 'outDir' attribute in Visual Studio Code

吃可爱长大的小学妹 提交于 2020-01-14 13:28:08
问题 I continue to get this error when I attempt to debug a C++ program: can't launch program 'c:\Users\'my username'\Desktop\C++\'; setting the 'outDir' attribute might help I have tried various combinations of syntax so that it would satisfy the condition, but I have had no success. I have spent hours trying to find the proper syntax and I have no idea what my problem is. I have had success with running JavaScript applications but they don't seem to require Source maps or the outDir field to be

typescript outDir setting in tsconfig.json not working

久未见 提交于 2019-12-12 09:29:35
问题 I can't seem to get the outDir flag working when used in package.json . Directory structure is pretty simple: tsconfig.json at the root level, together with a src/ directory and a single index.ts file plus other directories representing other modules. When running the tsc command on the index file, it creates a new one beside it instead of in the build directory. What am I doing wrong? My tsconfig: { "compilerOptions": { "outDir": "build" } } My npm build script: "build": "tsc src/index.ts" I

typescript outDir setting in tsconfig.json not working

眉间皱痕 提交于 2019-12-05 00:06:13
I can't seem to get the outDir flag working when used in package.json . Directory structure is pretty simple: tsconfig.json at the root level, together with a src/ directory and a single index.ts file plus other directories representing other modules. When running the tsc command on the index file, it creates a new one beside it instead of in the build directory. What am I doing wrong? My tsconfig: { "compilerOptions": { "outDir": "build" } } My npm build script: "build": "tsc src/index.ts" I'm calling the script from the root dir of the project. Interestingly, running the same script with an