Skip to content

[Bug]: Rolldown panics when enabling transform.decorators.legacy: true without installing @oxc-project/runtime #4986

@hyf0

Description

@hyf0

Reproduction link or steps

https://stackblitz.com/edit/rolldown-rolldown-starter-stackblitz-eqrhhsvw

What is expected?

No panic.

What is actually happening?

Panic.

 ERROR  Build failed with 1 error:                                                     

[UNHANDLEABLE_ERROR] Error: Something went wrong inside rolldown, please report this problem at https://github.com/rolldown/rolldown/issues.
Cannot find module '@oxc-project/runtime/helpers/decorate'

System Info

.

Any additional comments?

After run pnpm add @oxc-project/runtime, it works.

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Priority

None yet

Effort

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions