diff --git a/.gitignore b/.gitignore index 93fdc4c..5bdc439 100644 --- a/.gitignore +++ b/.gitignore @@ -3,5 +3,6 @@ node_modules/ coverage/ /lib/**/*.js /lib/**/*.ts +/lib/**/*.map /lib/**/*.d.ts.map /curve-definitions/lib diff --git a/tsconfig.esm.json b/tsconfig.esm.json index 03381b7..6832001 100644 --- a/tsconfig.esm.json +++ b/tsconfig.esm.json @@ -6,6 +6,7 @@ "module": "es6", "moduleResolution": "node16", "noUnusedLocals": true, + "sourceMap": true, "baseUrl": ".", "paths": { "@noble/hashes/crypto": [ "src/crypto" ] diff --git a/tsconfig.json b/tsconfig.json index 5a44890..775598d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,9 +2,11 @@ "compilerOptions": { "strict": true, "declaration": true, + "declarationMap": true, "outDir": "lib", "target": "es2020", "lib": ["es2020"], // Set explicitly to remove DOM + "sourceMap": true, "module": "commonjs", "moduleResolution": "node", "noUnusedLocals": true,