cool-easter-32542
03/31/2025, 12:38 AMtypescript_source and tsx_source (and so on), but running pants package :: with a relevant node_build_script will not include them in sandboxes, and thus will not be able to package them.
Describe the solution you'd like
With appropriate configuration and/or magic, running pants package :: should do the right thing with TypeScript sources.
Notes:
• TypeScript files can be fed directly into some packaging pipelines, without a dedicated tsc (or similar) invocation to strip out types/convert to JS. For instance, the esbuild bundler https://esbuild.github.io/content-types/#typescript
Describe alternatives you've considered
None
Additional context
See also: eakmanrq/example-javascript#1
pantsbuild/pants