Skip to content

bundle umd with es2015 get unexpected result #6020

@zzxming

Description

@zzxming

Reproduction link or steps

https://github.com/zzxming/build-demo

What is expected?

The declare property should have correct value

What is actually happening?

get undefined

Any additional comments?

Reproduction step in README.md. If input.plugins have @rollup/plugin-typescript, this problem will not occur.

I use version 0.12.7 before. It works fine. It happend after I upgrate to 0.14.2

Metadata

Metadata

Assignees

Type

Priority

None yet

Effort

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions