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

More control over logging and output #1286

Open
willo-icon opened this issue Feb 5, 2025 · 0 comments
Open

More control over logging and output #1286

willo-icon opened this issue Feb 5, 2025 · 0 comments

Comments

@willo-icon
Copy link

I'm using tsup to build a library that outputs a ton of files, many of which are generated. This makes the output of my builds really hard to parse since it spits out hundreds of lines of files I don't particularly care about. I could use --silent but it'd be nice to keep the logs that print timings and other informative output.

I don't have a specific flag or set of flags I'd prescribe for the feature request, but here are some suggestions:

  1. Flag / option to filter out files by glob matching pattern from logging
  2. Granularity of logs based on levels, where maybe the individual files are a level below the general information output
  3. Ability to provide a custom logger in tsup.config.ts's defineConfig, to implement any custom logic you could want

Open to any and all options. Thanks for the amazing tool, I use it all the time.

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