Open giohappy opened 2 years ago
Additionally, the sourcemaps linking to the d.ts
files instead of the source files has been counterproductive for us. I often have to manually navigate through node_modules
to find the relevant source files, which is a bit cumbersome.
I'm using Tone both directly as ESM module script in the browser and through Vital bundler. In both cases the browser references the ESM sourcemaps linking to the Typescript files, which of couese break the debugging.
I could only solve this buy rebuilding tone ESM modules without sourcemaps.
Sourcemaps are useful when navigating Tone source code inside an IDE, but it prevents correct debugging inside a browser. Do you see any solution thar can give both features?