unjs / unbuild

📦 A unified JavaScript build system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

NamesMT opened this issue · comments

Environment

unbuild@2.0.0

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.

#314 should fix this

Additional context

No response

Logs

No response