diff --git a/.gitignore b/.gitignore index 4c18567..869f9de 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ # Generated types *.d.ts +*.d.ts.map # Library specific ones index.mjs diff --git a/declaration.tsconfig.json b/declaration.tsconfig.json index f6fe2d3..1b62630 100644 --- a/declaration.tsconfig.json +++ b/declaration.tsconfig.json @@ -6,6 +6,7 @@ ], "compilerOptions": { "declaration": true, + "declarationMap": true, "noEmit": false, "emitDeclarationOnly": true } diff --git a/package.json b/package.json index d90fd8a..b7a08f2 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,8 @@ "files": [ "index.js", "index.mjs", - "index.d.ts" + "index.d.ts", + "index.d.ts.map" ], "scripts": { "build:0": "run-s clean", @@ -109,4 +110,4 @@ "type-coverage": "^2.14.6", "typescript": "^4.1.3" } -} +} \ No newline at end of file