Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] Mention --no-dts somewhere? #1070

Open
JoshuaKGoldberg opened this issue Dec 31, 2023 · 0 comments
Open

[Docs] Mention --no-dts somewhere? #1070

JoshuaKGoldberg opened this issue Dec 31, 2023 · 0 comments

Comments

@JoshuaKGoldberg
Copy link

JoshuaKGoldberg commented Dec 31, 2023

Right now there's a --dts-only flag that allows tsup to be used to only run dts. But I can't find a way to run without dts when the config file (tsup.config.ts) has dts: true. Can that be added in?

Context: JoshuaKGoldberg/create-typescript-app#1162. I have a repo with a single tsup.config.ts that needs to build .js files from .ts sources before linting. It'd be nice to just run the build using whatever configurations -especially clean and outDir- are present in tsup.config.ts... but not have to incur the speed penalty of type checking.

Edit: I just discovered --no-dts! But it's not mentioned anywhere on the site. Would you accept a PR mentioning it ...somewhere?

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant