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?1 Reply
Nevermind, figured it out by publishing a module to JSR, though it wasn't immediately clear from jsr docs:
JSR accepts your source .ts, renders docs from it, and automatically generates .js and .d.ts
So: publish .ts to JSR, do not compile it