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

fix: unlink the outDir twice will report an error #569

Merged
merged 1 commit into from Feb 23, 2022
Merged

Conversation

ahaoboy
Copy link
Contributor

@ahaoboy ahaoboy commented Feb 17, 2022

no such file or directory, unlink '...\dist\A.mjs'

import { defineConfig } from "tsup";
import type { Options } from "tsup";
export default defineConfig((options) => {
  const common: Options = {
    clean: true,
  };

  return [
    { ...common, entry: ["./src/A.ts"], outDir: "./dist" },
    { ...common, entry: ["./src/B.ts"], outDir: "./dist" },
  ];
});

@vercel
Copy link

@vercel vercel bot commented Feb 17, 2022

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/25w1uzmkBm9PB9DmVdn9NrEWjG6Y
Preview: https://tsup-git-fork-ahaoboy-dev-egoist.vercel.app

@egoist egoist merged commit 5bd6819 into egoist:dev Feb 23, 2022
6 checks passed
@github-actions
Copy link

@github-actions github-actions bot commented Mar 7, 2022

🎉 This PR is included in version 5.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

None yet

2 participants