From 7992218a9c22ea9469bd3386c7dc1d5efc6e51f9 Mon Sep 17 00:00:00 2001 From: Charles Lyding <19598772+clydin@users.noreply.github.com> Date: Tue, 20 Aug 2024 15:51:30 -0400 Subject: [PATCH] fix(@schematics/angular): remove `declaration` and `sourceMap` from default tsconfig The `declaration` TypeScript option has been removed from the default generated `tsconfig` for new projects. This option was explicitly set to `false`. However, the default value for the option is already `false`. Also, the `sourceMap` option has been removed. Source map generation is controlled by the build options and not the TypeScript configuration. --- .../schematics/angular/workspace/files/tsconfig.json.template | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/schematics/angular/workspace/files/tsconfig.json.template b/packages/schematics/angular/workspace/files/tsconfig.json.template index c8e87ddf97cf..14ba7de7844a 100644 --- a/packages/schematics/angular/workspace/files/tsconfig.json.template +++ b/packages/schematics/angular/workspace/files/tsconfig.json.template @@ -12,8 +12,6 @@ "skipLibCheck": true, "isolatedModules": true, "esModuleInterop": true, - "sourceMap": true, - "declaration": false, "experimentalDecorators": true, "moduleResolution": "bundler", "importHelpers": true,