这是indexloc提供的服务,不要输入任何密码
Skip to content

Improve conditional config example #514

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

Closed
wants to merge 1 commit into from

Conversation

eyelidlessness
Copy link

This is probably pedantic, but from my understanding minify: true is actually faster in esbuild, and disabling it in watch mode is probably not what most users will want.

Maybe there’s another, better, optional config example but I thought I’d open this as a starting point for that discussion.

This is probably pedantic, but from my understanding `minify: true` is actually faster in esbuild, and disabling it in watch mode is probably not what most users will want.

Maybe there’s another, better, optional config example but I thought I’d open this as a starting point for that discussion.
@vercel
Copy link

vercel bot commented Dec 27, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/egoist/tsup/87CkHRa3HfebupXo4383bxJ82ooK
✅ Preview: https://tsup-git-fork-eyelidlessness-patch-1-egoist.vercel.app

@sxzz
Copy link
Collaborator

sxzz commented Jul 16, 2024

According to the context, this example says: The configuration can be changed based on CLI flags.

In this example, it's important to emphasize the use of CLI flags over a possibly common usage scenario.

@sxzz sxzz closed this Jul 16, 2024
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

Successfully merging this pull request may close these issues.

2 participants