unbuild icon indicating copy to clipboard operation
unbuild copied to clipboard

`declaration` option is not respected if `entries` is undefined / auto

Open NamesMT opened this issue 2 years ago • 0 comments

Environment

[email protected]

Reproduction

https://github.com/NamesMT/starter-ts Stackblitz/codespace/clone the repo, set declaration to false, and comment out entries prop

Describe the bug

When entries are undefined (Automated configurated), the declaration option is not respected and will just rely on the auto script mechanic.

https://github.com/unjs/unbuild/pull/314 should fix this

Additional context

No response

Logs

No response

NamesMT avatar Nov 23 '23 07:11 NamesMT