diff --git a/.changeset/nasty-chefs-attend.md b/.changeset/nasty-chefs-attend.md new file mode 100644 index 0000000000..318cbd3841 --- /dev/null +++ b/.changeset/nasty-chefs-attend.md @@ -0,0 +1,5 @@ +--- +"@latticexyz/common": patch +--- + +Enabled `declarationMap` in base TS config to generate sourcemaps for DTS files. diff --git a/packages/common/tsconfig.base.json b/packages/common/tsconfig.base.json index a07f03a706..b0bca7eaac 100644 --- a/packages/common/tsconfig.base.json +++ b/packages/common/tsconfig.base.json @@ -13,13 +13,14 @@ "noEmit": true, "skipLibCheck": true, "strict": true, - "declaration": true, "esModuleInterop": true, "noErrorTruncation": true, "resolveJsonModule": true, "forceConsistentCasingInFileNames": true, // TODO: enable this // "noUncheckedIndexedAccess": true, - "sourceMap": true + "sourceMap": true, + "declaration": true, + "declarationMap": true } }