paulmillr / scure-base

Secure, audited & 0-deps implementation of bech32, base64, base32, base16 & base58
https://paulmillr.com/noble/#scure
MIT License
106 stars 13 forks source link

Source map errors are emitted during debug #32

Closed shamilovtim closed 2 months ago

shamilovtim commented 4 months ago

Received in v1.1.6

While debugging our project this package throws source map errors in dev tools:

Could not read source map for node_modules/%40scure/base/lib/index.js: ENOENT: no such file or directory, open /node_modules/@scure/base/lib/index.js.map'

TypeScript, by default, does not generate source maps. If you want TypeScript to produce source maps along with the compiled JavaScript files, you need to set the sourceMap option to true in your tsconfig.

paulmillr commented 4 months ago

The tsconfig has proper settings.

package.json files does not contain source maps in it.