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 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

@github-actions
Copy link

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