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/ coverage/
/lib/**/*.js /lib/**/*.js
/lib/**/*.ts /lib/**/*.ts
/lib/**/*.map
/lib/**/*.d.ts.map /lib/**/*.d.ts.map
/curve-definitions/lib /curve-definitions/lib

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

@ -2,9 +2,11 @@
"compilerOptions": { "compilerOptions": {
"strict": true, "strict": true,
"declaration": true, "declaration": true,
"declarationMap": true,
"outDir": "lib", "outDir": "lib",
"target": "es2020", "target": "es2020",
"lib": ["es2020"], // Set explicitly to remove DOM "lib": ["es2020"], // Set explicitly to remove DOM
"sourceMap": true,
"module": "commonjs", "module": "commonjs",
"moduleResolution": "node", "moduleResolution": "node",
"noUnusedLocals": true, "noUnusedLocals": true,