From 3815dafa61f8b0cd48f5d3b362e16d5d90da8f12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ad=C3=A1mek?= Date: Fri, 29 May 2026 10:09:03 +0200 Subject: [PATCH] chore: stop publishing broken declaration and source maps The published tarball excludes `src` but ships `.d.ts.map`/`.js.map` that reference `../src/*.ts`, so the maps never resolve and editors fall back to the compiled output. Disable `declarationMap`/`sourceMap` so these dead maps are no longer emitted. Co-Authored-By: Claude Opus 4.8 --- tsconfig.base.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tsconfig.base.json b/tsconfig.base.json index fcdc2e2..30c4458 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -4,7 +4,7 @@ "allowSyntheticDefaultImports": true, "alwaysStrict": true, "declaration": true, - "declarationMap": true, + "declarationMap": false, "emitDecoratorMetadata": true, "esModuleInterop": true, "experimentalDecorators": true, @@ -26,7 +26,7 @@ "pretty": true, "removeComments": false, "resolveJsonModule": true, - "sourceMap": true, + "sourceMap": false, "strict": true, "target": "ES2022", "useDefineForClassFields": true