Skip to content

[Bug]: Custom command line arguments are not handled in rolldown #6067

@mmalinin

Description

@mmalinin

Reproduction link or steps

Minimal example: https://github.com/mmalinin/rolldown_custom_cli_args

What is expected?

CLI build command completes successfully and prints custom args

{
  _: [],
  c: 'rollup.config.js',
  config: 'rollup.config.js',
  configLogLevel: 'silent',
  config_my_arg: true
} object

What is actually happening?

CLI build command terminates with an error:
ERROR Invalid option: --configLogLevel. We will ignore this option.

System Info

Binaries:
    Node: 22.19.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.9.3 - C:\Program Files\nodejs\npm.CMD

Any additional comments?

No response

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions