cspotcode
cspotcode
DDeno
Created by cspotcode on 10/12/2024 in #help
JSR publish: source .ts or transpiled .js w/sourcemaps?
When publishing to JSR, should I be publishing the source .ts, or do I still need to transpile to .js, include sourcemaps, specify main, module, typings in my manifest, all that jazz?
3 replies
DDeno
Created by cspotcode on 10/9/2024 in #help
Open stack frame source in editor, for transitive dependency
When an error occurs in one of my transitive dependencies, I see a stack frame in my terminal that looks like this:
error: Module not found "https://glfw-binaries.deno.dev/3.4.0-patch1/glfw3_darwin.js".
at https://deno.land/x/dwm@0.3.2/src/platform/glfw/ffi.ts:2:20
error: Module not found "https://glfw-binaries.deno.dev/3.4.0-patch1/glfw3_darwin.js".
at https://deno.land/x/dwm@0.3.2/src/platform/glfw/ffi.ts:2:20
My first thought is that I want to see that source code. I want to see ffi.ts line 2. Normally, I would ctrl+click that line in terminal and my editor would open the file, navigated to that line so I can read the code, complete with language service tooling. With Deno, VSCode instead asks if I want to open that URL in a browser. Is there a way to browse through transitive dependencies in my code editor?
1 replies