Skip to content

declaration inside entries have no effect #529

Description

@NamesMT

Environment


  • Operating System: Linux
  • Node Version: v22.14.0
  • Package Manager: pnpm@10.8.0
  • Unbuild Version: v3.5.0

Reproduction

Any simple dummmy repo with the config:

export default defineBuildConfig({
  entries: [
    // Main engine
    {
      input: 'src/index',
      declaration: 'node16',
    },

    // CLI app
    {
      input: 'src/cli',
      declaration: false,
    },
  ],
  declaration: false,
  clean: true,
  rollup: {
    inlineDependencies: true,
    esbuild: {
      target: 'esnext',
      // minify: true,
    },
  },
})

Describe the bug

declaration inside entries have no effect, no declaration files is generated with the included config.

Additional context

No response

Logs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions