Repository navigation
Using --deps.onlyBundle without a value should assume an empty array or "true"
#965
will-stone
started this conversation in
Ideas
Replies: 1 comment 1 reply
|
quick repro says the bare positive flag is the broken path here. I tested So #884 covers "CLI flag exists", but this exact bare positive form still needs either a boolean branch or docs saying only valued patterns / |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
Currently using
--deps.onlyBundleCLI flag causes an error:However, this flag is useful for determining if the package.json dependencies is set up correctly (rather than just ignoring all bundling). Which means it needs to be set up using
--deps.onlyBundle='()'or--deps.onlyBundle=nullor--deps.onlyBundle=trueto get the errors about which deps would have been bundled.I understand this can be set to an empty array in tsdown.config but how about defaulting
--deps.onlyBundletotrue? This would follow the CLI Flag Patterns whereThanks,
Will.
All reactions