From 7fb1e3644fe163d2d37dc58d2238bf0aea73f428 Mon Sep 17 00:00:00 2001 From: Samuel Llibre-Pillco Date: Tue, 8 Oct 2024 23:18:24 -0400 Subject: [PATCH] =?UTF-8?q?chore(012-tsc-watch-mode.solution):=20?= =?UTF-8?q?=F0=9F=94=A7=20add=20"outDir"=20to=20tsconfig.json=20for=20watc?= =?UTF-8?q?h=20mode=20solution?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added "outDir": "./dist" to the 012-tsc-watch-mode.solution's tsconfig.json to specify the output folder for compiled files. This ensures that JavaScript files emitted by TypeScript are placed in the "dist" directory during compilation. --- .../012-tsc-watch-mode.solution/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/010-typescript-in-the-build-process/012-tsc-watch-mode.solution/tsconfig.json b/src/010-typescript-in-the-build-process/012-tsc-watch-mode.solution/tsconfig.json index 9dd3ec6..ac8377e 100644 --- a/src/010-typescript-in-the-build-process/012-tsc-watch-mode.solution/tsconfig.json +++ b/src/010-typescript-in-the-build-process/012-tsc-watch-mode.solution/tsconfig.json @@ -44,7 +44,7 @@ // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ - // "outDir": "./", /* Specify an output folder for all emitted files. */ + "outDir": "./dist", /* Specify an output folder for all emitted files. */ // "removeComments": true, /* Disable emitting comments. */ // "noEmit": true, /* Disable emitting files from a compilation. */ // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */