Skip to content

[Bug] dts cannot be set to false #539

@zojize

Description

@zojize

Environment

> node -v     
v24.1.0
> pnpm unbuild --version
3.5.0

Reproduction

//

Describe the bug

It is documented here

/**
* DTS plugin options
* Set to `false` to disable the plugin.
* Read more: [rollup-plugin-dts](https://www.npmjs.com/package/rollup-plugin-dts)
*/
dts: RollupDtsOptions;
that dts can be set to false to disable this plugin. Neither the type definition nor the runtime behavior (errors) allows setting this to false. Is this setting deprecated?

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions