Discussion on: I created my first TypeScript library and published it on NPM

terabaud profile image
Lea Rosema Author

Good point, I think excluding src from the package is the right way.

Initially, I thought of a scenario when using TypeScript, one could somehow import directly from the ts sources, and let the bundling be done by one's own transpiling toolchain, but that's out of scope of NPM, I guess. At least, there is no clean way to do that via NPM (yet).

hendrikfoo profile image
Hendrik Richert

cough deno.land/ cough :-)