Emit source maps

This commit is contained in:
Paul Miller 2023-02-14 16:23:51 +00:00
parent c36d90cae6
commit 4d311d7294
No known key found for this signature in database
GPG Key ID: 697079DA6878B89B
3 changed files with 4 additions and 0 deletions

1
.gitignore vendored

@ -3,5 +3,6 @@ node_modules/
coverage/
/lib/**/*.js
/lib/**/*.ts
/lib/**/*.map
/lib/**/*.d.ts.map
/curve-definitions/lib

@ -6,6 +6,7 @@
"module": "es6",
"moduleResolution": "node16",
"noUnusedLocals": true,
"sourceMap": true,
"baseUrl": ".",
"paths": {
"@noble/hashes/crypto": [ "src/crypto" ]

@ -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,