shims option is false by default: If you're dual-publishing (i.e. --format esm,cjs) and using platform specific API like import.meta.url, __dirname and __filename, you need to manually enable --shims flag now, because import.meta.url won't work in a cjs module, and __dirname, __filename won't work in an esm module.
target option is now node14 by default: previously it was node12, the minimal node version that tsup can run in is also changed to node14
New Features
... (truncated)
Commits
8230221 fix: make --minify work with es5 target, fix #653
58d0145 feat(cli): add --tsconfig flag to accept custom tsconfig path (#652)
be48b8b feat(minor): use shell option for complex commands in onSuccess (#649)
36e2199 fix: ignore esbuild warning if silent is true (#643)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps tsup from 5.10.0 to 6.1.2.
Release notes
Sourced from tsup's releases.
... (truncated)
Commits
8230221
fix: make--minify
work with es5 target, fix #65358d0145
feat(cli): add--tsconfig
flag to accept custom tsconfig path (#652)be48b8b
feat(minor): use shell option for complex commands in onSuccess (#649)36e2199
fix: ignore esbuild warning if silent is true (#643)c3f336d
docs:--entry
flag33a7c5f
feat: allow to use an object as entry with--entry
flag0a96985
fix: allowformat
to be a string in config file90f2d1a
feat: support custom config file with--config
flagce599ad
chore(docs): add link to pakab9cd8d5
feat: new optionoutExtension
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)