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

feat(config): allow conditional config #452

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

Merged
merged 4 commits into from
Nov 12, 2021
Merged

feat(config): allow conditional config #452

merged 4 commits into from
Nov 12, 2021

Conversation

tmkx
Copy link
Contributor

@tmkx tmkx commented Nov 7, 2021

for example:

// tsup.config.ts
import { defineConfig } from 'tsup';

export default defineConfig(({ watch }) => ({
  minify: watch ? false : true,
}));

// and fix some typos

@height
Copy link

height bot commented Nov 7, 2021

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.

@vercel
Copy link

vercel bot commented Nov 7, 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/9P18T2ep2XHz7J24CsxaseQt5VBy
✅ Preview: https://tsup-git-fork-tmkx-feat-conditional-config-egoist.vercel.app

@egoist egoist changed the title feat(config): pass override options to defineConfig feat(config): allow conditional config Nov 12, 2021
@egoist egoist merged commit 449d9e0 into egoist:master Nov 12, 2021
@github-actions
Copy link
Contributor

🎉 This PR is included in version 5.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@tmkx tmkx deleted the feat/conditional-config branch November 12, 2021 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants