<#22151 TypeScript: support packaging> Issue creat...
# github-notifications
c
#22151 TypeScript: support packaging Issue created by huonw Is your feature request related to a problem? Please describe. We have targets like
typescript_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