Tsup 6.5.0 and 6.7.0, are not backwards compatible. Lack of compatibility has been spotted in a following way:
package.json
"devDependencies": {
"tsup": "^6.5.0",
},
scripts: {
"build": "tsup --minify=true",
}
6.7.0 statisfies "^". Tsup 6.7.0 expects tsup --minify
as a command, otherwise you get an error that minify is not a boolean.
Expected behavior
Both commands should work when versions are "^" compatible.
The issue can be closed, however it would be lovely to keep semantic versioning in the future :-)
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too