-
-
Notifications
You must be signed in to change notification settings - Fork 158
Labels
Description
Reproduction link or steps
- Set up a project with tsup, for example a starter of turborepo which has a
packages/uiusingtsup:npx create-turbo@latest -e design-system cdand runnpx tsdown migrate- error:
@acme/ui:dev: ERROR Error: No input files, try "tsdown <your-file>" or create src/index.ts
which is solved on updating entryPoints to entry, as per the docs: https://tsdown.dev/options/entry#multiple-entry-files
What is expected?
expecting config to look like this:
import { defineConfig } from "tsdown";
export default defineConfig((options) => ({
entry: ["src/button.tsx"],
format: ["cjs", "esm"],
dts: true,
external: ["react"],
...options,
}));
What is actually happening?
config file actually looks like:
import { defineConfig } from "tsdown";
export default defineConfig((options) => ({
entryPoints: ["src/button.tsx"],
format: ["cjs", "esm"],
dts: true,
external: ["react"],
...options,
}));
Any additional comments?
Furthermore, entryPoints is not showing as an error in Options.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackPriority
None yet
Effort
None yet