We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
My project builds just fine on version 8.2.0 but is unable to build on 8.2.1.
8.2.0
8.2.1
When running pnpm i on 8.2.1:
pnpm i
# after running pnpm install packages/redacted │└─┬ tsup 8.2.1 │ └─┬ fdir 6.1.1 │ └── ✕ unmet peer [email protected]: found 4.0.2 in tsup
When running tsup:
tsup
# after running tsup > tsup Cannot find src
Installing peers did not fix the issue for me; pinning my version to 8.2.0 in my package.json fixed the issue.
package.json
// package.json "tsup": "8.2.0"
My tsconfig:
{ "compilerOptions": { "rootDir": ".", "outDir": "dist" }, "include": ["**/*.ts", ".eslintrc.cjs"] }
My tsup.config.ts:
tsup.config.ts
import { defineConfig } from "tsup"; const tsupConfig = defineConfig({ entry: ["src"], format: ["esm"] }) export default tsupConfig;
The relevant parts of my package.json:
{ "name": "@monorepo/redacted", "type": "module", "exports": { "./redacted": { "types": "./src/redacted.ts", "import": "./dist/redacted.js" } }, "scripts": { "build": "tsup" }, "devDependencies": { "tsup": "8.2.1", "typescript": "5.5.3" }, "packageManager": "[email protected]", "engines": { "node": ">=20" } }
The text was updated successfully, but these errors were encountered:
caused by #1158's globbing library switch, will try to fix (although i have to say it doesn't look like this was documented behavior)
Sorry, something went wrong.
by the way, (until the fix gets released) replacing "src" with "src/**" should work as a workaround
"src"
"src/**"
Fixed in https://github.com/egoist/tsup/releases/tag/v8.2.2
Successfully merging a pull request may close this issue.
My project builds just fine on version
8.2.0
but is unable to build on8.2.1
.When running
pnpm i
on8.2.1
:When running
tsup
:Installing peers did not fix the issue for me; pinning my version to
8.2.0
in mypackage.json
fixed the issue.My tsconfig:
My
tsup.config.ts
:The relevant parts of my package.json:
Upvote & Fund
The text was updated successfully, but these errors were encountered: